@sub-design/icons
v0.1.1
Published
A single lucide-react version for both products, re-exported as-is. Not a curated set, not a wrapper with its own props — every named export `lucide-react` has, unchanged.
Readme
@sub-design/icons
A single lucide-react version for both products, re-exported as-is. Not a
curated set, not a wrapper with its own props — every named export
lucide-react has, unchanged.
Why this exists
NOKL and Enterprise each depended on lucide-react directly, at genuinely
different major versions (^1.28.0 and ^0.487.0) — not a lagging patch,
a real split. Neither product had a custom icon anywhere; every icon either
product used was already lucide's. Nothing here needed curation — the
problem was purely that the version was decided twice, independently, and
had drifted.
Checked before pinning 1.31.0: every icon name actually imported across
both products' real source (92 in Enterprise, 57 in NOKL) still resolves —
lucide keeps a renamed icon's old name exported as an alias (e.g.
AlertTriangle now points to the icon canonically named TriangleAlert),
so moving onto this package needs zero import changed in either product.
Installing
npm install @sub-design/iconsreact is a peer.
Using it
import { AlertTriangle, Check } from "@sub-design/icons";Same names, same props, same tree-shaking behaviour as importing from
lucide-react directly — this package only decides which version.
