@saplings/icons-web
v0.2.0
Published
Tree-shakeable React SVG icons
Readme
@saplings/icons-web
600 tree-shakeable React SVG icons, generated from the same definitions as
@saplings/icons-native. Requires React 18.3 or 19.
pnpm add @saplings/icons-web reactimport { House, Search } from '@saplings/icons-web';
// Or use an explicit entry point for an individual icon:
import { CircleCheck } from '@saplings/icons-web/icons/circle-check';
export function Navigation() {
return <nav aria-label="Main"><a href="/"><House aria-label="Home" size={20} /></a><Search aria-hidden="true" /><CircleCheck color="green" strokeWidth={1.5} title="Complete" /></nav>;
}Icons default to 24px, currentColor, a 2px stroke, and decorative
aria-hidden. Give a meaningful standalone icon aria-label, aria-labelledby,
or title. Icons inside a labeled button should usually stay decorative.
Standard SVG props and refs are forwarded. See the
complete icon list. Individual subpath imports avoid
loading the full barrel in tools without tree shaking.
The artwork is from Lucide 1.84.0. Its ISC license and Feather attribution are in LUCIDE-LICENSE.
