paragon/icons
renovate[bot] 9f8d537577
chore(deps): update dependency @svgr/babel-plugin-add-jsx-attribute to v8 (#3885)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 11:12:32 -04:00
..
es5 fix: include browserslist config from v22 branch, rebuild icons 2025-01-23 10:45:09 -08:00
jsx feat: add Newsstand icon (#3275) 2024-12-04 12:22:35 +02:00
svg feat: add Newsstand icon (#3275) 2024-12-04 12:22:35 +02:00
.babelrc.json build: don't emit _extends() helper in icon files 2024-12-06 18:06:52 -05:00
.svgrrc.js fix: ensure color elements in SVGs get currentColor fill (#2687) 2023-12-13 11:01:12 +02:00
README.md fix: update script for copying mui-icons and add additional docs (#1449) 2022-07-15 08:56:17 -04:00
copy-brand-icons.js chore(deps): update `bootstrap-icons` package and build icons 2024-05-08 11:37:08 -04:00
copy-mui-icons.js feat: added Bootstrap brand icons (#2324) 2023-06-02 12:54:44 +03:00
index.d.ts feat: working typings for Paragon, better types for <Icon> component (#3016) 2024-03-25 11:57:53 -04:00
index.js feat: add icons (#600) 2021-01-08 14:27:32 -05:00
index.mjs feat: working typings for Paragon, better types for <Icon> component (#3016) 2024-03-25 11:57:53 -04:00
package.json chore(deps): update dependency @svgr/babel-plugin-add-jsx-attribute to v8 (#3885) 2025-10-10 11:12:32 -04:00

README.md

Paragon Icons

This module contains icons for use with the Paragon <Icon /> component. This module generates source .svg icons into jsx and es5 React components.

To add a new icon:

  1. Install dependencies
npm install
  1. Add the desired .svg icon file to the svg folder. It should be designed for display at 24px by 24px.

  2. Generate the React components

npm run build

Note that most of the icons are taken from MUI icons, this is achieved through copy-mui-icons.js script located in this directory which is part of npm run build command. There are a couple of things to keep in mind:

  • the script currently does not override existing files, so if you need updated version of the icon you will need to update it manually (copy the icon to svg directory and run build command)
  • if new version of the material-icons package is published with new icons, the version needs to be updated in package.json before running the build command to include new icons