@tokis/icons
v1.3.0
Published
Icon library for Tokis — tree-shakable SVG icons with native lucide-react support.
Downloads
1,239
Maintainers
Readme
@tokis/icons
Tree-shakable SVG icon library for Tokis. Zero dependencies — use the built-in icons directly, or opt into lucide-react as an optional peer.
Installation
npm install @tokis/iconsOr install everything at once:
npm install @tokis/tokis
Usage
Built-in icons
import { SearchIcon, XIcon, ChevronDownIcon } from '@tokis/icons';
function MyComponent() {
return <SearchIcon aria-label="Search" />;
}lucide-react bridge (optional)
If you already have lucide-react installed, you can use the bridge entry point to consume Lucide icons through the Tokis icon interface:
npm install lucide-reactimport { SearchIcon } from '@tokis/icons/lucide';Peer Dependencies
react>= 18.0.0lucide-react>= 0.300.0 (optional — only required for the/lucideentry point)
Documentation
Visit Tokis Documentation for the full icon catalogue.
License
MIT
