grafana/packages/grafana-icons
grafana-delivery-bot[bot] 40e3601982
Release: Bump version to 11.2.0-pre (#89184)
* "Release: Updated versions in package to 11.2.0-pre"

* fix newline

---------

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2024-06-13 15:08:07 -05:00
..
src Saga-icons: Forward SVG attributes (#87138) 2024-04-30 15:58:25 +01:00
svg Icon: Remove hardcoded color from ai icon (#87996) 2024-05-20 10:32:37 +01:00
templates Saga-icons: Forward SVG attributes (#87138) 2024-04-30 15:58:25 +01:00
.gitignore Grafana/icons: Add icons package (#82314) 2024-03-20 17:03:40 +02:00
.svgrrc.cjs Saga-icons: Switch to ESM (#84875) 2024-03-26 13:58:25 +02:00
CHANGELOG.md Grafana/icons: Add icons package (#82314) 2024-03-20 17:03:40 +02:00
LICENSE_APACHE2 Grafana/icons: Add icons package (#82314) 2024-03-20 17:03:40 +02:00
package.json Release: Bump version to 11.2.0-pre (#89184) 2024-06-13 15:08:07 -05:00
README.md Grafana/icons: Add icons package (#82314) 2024-03-20 17:03:40 +02:00
rollup.config.ts Saga-icons: Add svgs (#85522) 2024-04-04 17:57:22 +03:00
tsconfig.build.json Grafana/icons: Add icons package (#82314) 2024-03-20 17:03:40 +02:00
tsconfig.json Grafana/icons: Add icons package (#82314) 2024-03-20 17:03:40 +02:00

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.