npm.io
6.13.0 • Published 1 week ago

@blueprintjs/icons

Licence
Apache-2.0
Version
6.13.0
Deps
3
Size
33.4 MB
Vulns
0
Weekly
0
Stars
21.9K

Blueprint Icon Components and files

Blueprint is a React UI toolkit for the web.

This package contains a collection of React components and other files for displaying icons.

Installation

npm install --save @blueprintjs/icons

Full Documentation | Source Code

Adding new icons (repo contributors)

  1. Add the 16px SVG under resources/icons/16px and the 20px SVG under resources/icons/20px, same kebab-case basename in each. The basename then becomes the iconName.
  2. Run pnpm --filter @blueprintjs/icons icons:add. It checks the pair, runs SVGO on the SVGs, and appends a row to packages/icons/icons.json when the icon isn’t listed yet.
  3. Fill in tags and group for the new row.
  4. Run pnpm --filter @blueprintjs/icons icons:verify before you ship the change.

To normalize every icon SVG in the repo at once: pnpm --filter @blueprintjs/icons icons:format.

Keywords