@stellaria/nebula-icons
v1.1.4
Published
Componente Icon y registry de iconos (base lucide) del design system Nebula
Readme
@stellaria/nebula-icons
One Icon component over an extensible registry, with the same names on web and native and
tree-shaking per icon.
Install
pnpm add @stellaria/nebula-icons
pnpm add lucide-react # optional: only if you use the bundled packreact is a peer. lucide-react is an optional peer: without it the component still works with
whatever you register yourself.
What you get
import { Icon } from "@stellaria/nebula-icons";
<Icon name="check" size={20} />;Register your own, and they answer to the same names on both platforms:
import { CreateIcons } from "@stellaria/nebula-icons";
const icons = CreateIcons({ invoice: MyInvoiceSvg });The bundled pack lives behind a subpath so you only pay for what you import:
import { lucide } from "@stellaria/nebula-icons/packs";Compatibility
React 19.2+. ESM only. Node 20+ to build.
Documentation
Licence
MIT.
