@aurea-uds/icons
v0.6.0
Published
The Carbon icon sprite that Aurea UDS renders through <use href>. See NOTICE for attribution.
Maintainers
Readme
@aurea-uds/icons
The icon sprite that Aurea UDS draws from. The glyphs are IBM's Carbon Icons; this package only bundles them into one SVG sprite.
pnpm add @aurea-uds/iconsCopy dist/aurea-icons.svg into whatever your app serves as static assets, then tell the
provider where it is:
<AureaProvider spriteUrl="/aurea-icons.svg">Markup outside React references a symbol directly:
<svg class="icon" aria-hidden="true"><use href="/aurea-icons.svg#i-search"></use></svg>The symbol id is i- followed by the Carbon name exactly as Carbon spells it, double dashes
and all: chevron--down becomes #i-chevron--down.
Licence
Apache-2.0 for this package. The glyphs are Carbon Icons, also Apache-2.0 — the attribution
IBM's licence requires travels in NOTICE, which is part of the published files.
