@vitral/icons
v0.2.0
Published
Framework-agnostic SVG icons for Vitral: an outline set on a 24×24 grid, one named export per icon.
Readme
@vitral/icons
The icon set drawn for Vitral: an outline set on a 24×24 grid, as data.
Every icon is a named export, so a bundler keeps only the ones you import.
import { check, graduationCap, renderSvg } from '@vitral/icons';
renderSvg(check, { width: '20', height: '20' });In a Vue application, register the extra ones you want to name in an icon
prop:
app.use(Vitral, { icons: [graduationCap] });@vitral/icons/registry has the whole catalogue by name and by category, for
an icon picker or a page that lists them all.
LGPL-3.0-or-later. Part of the Vitral monorepo.
