UNPKG

ranui

Version:

A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.

10 lines (9 loc) 512 B
/** Registered names available after {@link registerBuiltinIcons} runs. */ export declare const BUILTIN_ICON_NAMES: string[]; /** * Register every icon ranui ships (see `RAN_ICON_NAMES`) so `<r-icon name="…">` * renders it. Idempotent; call once, in the browser, before the first `<r-icon>` * connects. Import cost: the bundled SVG strings (~15 KB). To register only a * subset, import the specific SVGs yourself and call `registerIcons` instead. */ export declare const registerBuiltinIcons: () => void;