grafana/packages/grafana-icons
renovate[bot] 9f416e1428
Update dependency prettier to v3.4.2 (#97972)
* Update dependency prettier to v3.4.2

* run prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-12-16 11:18:17 +00:00
..
src React: Use new JSX transform (#88802) 2024-06-25 12:43:47 +01:00
svg Chore: update Asserts menu icon again (#95522) 2024-10-28 23:55:19 +02:00
templates React: Use new JSX transform (#88802) 2024-06-25 12:43:47 +01:00
.gitignore
.svgrrc.cjs Saga-icons: Switch to ESM (#84875) 2024-03-26 13:58:25 +02:00
CHANGELOG.md
LICENSE_APACHE2
README.md
package.json Update dependency prettier to v3.4.2 (#97972) 2024-12-16 11:18:17 +00:00
project.json Build: Nx improvements (#88341) 2024-10-15 14:25:45 +02:00
rollup.config.ts Fix: Prevent import errors caused by Rollup 4 (#93903) 2024-09-27 12:18:52 +01:00
tsconfig.build.json
tsconfig.json React: Use new JSX transform (#88802) 2024-06-25 12:43:47 +01:00

README.md

Grafana Saga Icons

This package contains the icon React components used in Grafana and Grafana plugins.

Uploading a new icon

To add a new icon to the library, open a PR which adds the SVG file for the icon into the svg directory. The file should be named with the icon name in kebab-case. For example, if the icon name is MyIcon, the file should be named my-icon.svg. Once the PR is merged, the icon will be automatically generated and added to the library.

Development

  1. Clone the repository
  2. Run yarn install
  3. After the installation, the icon components can be found in the src/icons-gen directory.
  4. To regenerate/update the components, run yarn generate.