2.0.0 • Published 2 years ago

@hrnet-aj/icons v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Icons

React icon components.

🚀 Getting started

pnpm install
pnpm run build

Create new icons

Just add an SVG file in assets/ and build.

In order for the icons to get the current text color (or the color we give it through the color property),
SVG elements have their following property values replaced with currentColor,
so make sure that the icon color already is currentColor or pure black at first:

  • #000
  • #000000

Resources for new icons

  • Phosphor is a nice place to get SVG icons.
  • Lucide also have a good choice.

Notes about SVG files

Phosphor and Lucide icons should work out of the box.

Notes

There is no src/ directory, as it is generated at build time.

1.1.0

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago