disarto-icons
v1.0.0
Published
Disarto Icons — vanilla JS/ESM icon data, framework-agnostic
Readme
disarto-icons
Framework-agnostic icon data from Disarto Icons — 566 handcrafted icons in Regular (outline) and Solid (filled) variants, drawn on a 24×24 grid. ESM, fully tree-shakeable.
npm install disarto-iconsUse
import { Play, ArrowUpLeft } from 'disarto-icons';
import { PlaySolid, GearSolid } from 'disarto-icons'; // Solid = suffix
import { Play } from 'disarto-icons/icons/play-regular.js'; // most granularEach icon is a plain object with a toSvg() helper:
const { name, viewBox, inner } = Play;
el.innerHTML = Play.toSvg({ width: '32', height: '32', class: 'icon' });Tree-shaking works out of the box with Vite, webpack 5+, Rollup, and esbuild — only what you import ships.
Looking for React components? See disarto-icons-react. Just want SVG files? See disarto-icons-static.
License
MIT © Disarto — for the artwork. Third-party trademarks in the Brands category are excluded; see TRADEMARKS.md.
