lucide-icons
SKILL.md
RULES:
- install:
lucide - import only needed icons (tree-shake)
- create icon HTML via
createElement(Icon).outerHTML - pass icon HTML string to constructo prop
- use CSS for color (icons inherit text color)
- for SSR use
lucide-static
BASIC:
import { createElement, Home } from "lucide";
const homeIcon = createElement(Home, { size: 20 }).outerHTML;