iconista

Thousands of SVG icons with one React component

Unlicense 36 个版本
安装
npm install iconista
yarn add iconista
pnpm add iconista
bun add iconista
README

iconista

Listen to podcast:

https://github.com/user-attachments/assets/aadf4d0e-39d9-4214-8a61-4876989d558a

  • Thousands of SVG icons. See to Storybook.
  • Just one React component.
  • Icons are lazy-loaded, so you only load the icons you use.
  • TypeScript autocompletion for icon sets and icons.
  • Inline 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.
  • SVG icons are optimized with SVGO.

autocomplete

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'})

Static usage

You can access icons directly from a public CDN, using icon's {set} and {icon} identifiers. For example, you can use the JsDelivr CDN:

Using JsDelivr:

https://cdn.jsdelivr.net/npm/iconista@2/sets/{set}/{icon}.svg

Using UNPKG:

https://unpkg.com/iconista@2/sets/{set}/{icon}.svg

Using ESM.sh:

https://esm.sh/iconista@2/sets/{set}/{icon}.svg

License

All icon sets and this repository are distributed under permissive open-source licenses:

版本列表
3.0.0 2026-05-18
2.26.0 2026-05-13
2.25.1 2026-04-28
2.25.0 2026-04-25
2.24.0 2026-04-25
2.23.0 2025-03-14
2.22.0 2024-11-25
2.21.0 2024-11-14
2.20.0 2024-11-14
2.19.0 2024-11-14
2.18.0 2024-11-14
2.17.0 2024-11-14
2.16.1 2022-04-02
2.16.0 2021-04-01
2.15.0 2021-02-20
2.14.0 2020-10-31
2.13.2 2020-09-06
2.13.1 2020-07-25
2.13.0 2020-05-28
2.12.0 2019-12-29
2.11.0 2019-12-29
2.10.0 2019-04-20
2.9.1 2019-04-16
2.9.0 2019-04-15
2.8.0 2019-04-01
2.7.0 2019-04-01
2.6.0 2019-03-31
2.5.0 2019-03-17
2.4.0 2019-03-17
2.3.0 2019-03-16
2.2.0 2019-03-15
2.1.0 2019-03-15
2.0.0 2019-03-15
1.1.1 2019-03-15
1.1.0 2019-03-14
1.0.0 2019-03-14