Solid
kubai-icons-solid provides animated SVG components for Solid 1.9+ and SolidStart.
Install
bash
npm install kubai-icons-solidUsage
tsx
import { Folder } from "kubai-icons-solid";
<Folder size={28} color="#6366F1" />Styles and import paths
Append /icons/<name> to any style path for a single default export. Line icons also support strokeWidth.
Motion and server rendering
Named icons render SVG on the server and attach hover motion in the browser. Use trigger="parent" to play the motion from a surrounding button, or control it with hover. Toggle icons support active and onActiveChange.
Append /dynamic to an import path to use DynamicIcon when the name is known at runtime. It renders its fallback on the server and loads the icon in the browser.
tsx
import { DynamicIcon } from "kubai-icons-solid/dynamic";
<DynamicIcon name="folder" size={28} />