npm

iconista
TypeScript icon, indicating that this package has built-in type declarations

2.16.1 • Public • Published

iconista

  • Hundreds 💯+ of SVG icons in one React component
  • One React component
  • TypeScript autocompletion for icon sets and icons
  • Inlines icons as SVG elements, so you can apply CSS styling to them
  • All icons are responsive (SVG widht and height attributes are removed)
  • fill SVG properties are not set, so you can color icons with CSS

image

React usage

import Svg from 'iconista';

<Svg set='ibm_16' icon='arrow--down' />

Or, simply get the icon URL:

import {getUrl} from 'iconista/lib/getUrl'

const url = getUrl({set: 'ibm_16', icon: 'arrow--down'})

License

Readme

Keywords

none

Package Sidebar

Install

npm i iconista

Weekly Downloads

12

Version

2.16.1

License

Unlicense

Unpacked Size

5.84 MB

Total Files

5334

Last publish

Collaborators

  • streamich