@octanejs/sanity-icons
v0.1.13
Published
Sanity icons for Octane, matching the @sanity/icons subpath API.
Keywords
Readme
@octanejs/sanity-icons
Complete Octane port of @sanity/[email protected].
npm install @octanejs/sanity-icons
pnpm add @octanejs/sanity-iconsimport {RocketIcon} from '@octanejs/sanity-icons/Rocket'
export function Launch() @{
<button><RocketIcon aria-hidden="true" /> Launch</button>
}All upstream per-icon subpaths are generated and tree-shakable. The root Icon component
and lazy icons map are also available. SVG props, currentColor, arbitrary attributes,
native events, and normal Octane ref props are supported.
