shadcn CLI
Use this if you want each React icon copied into your codebase as a single file you can edit.
The shadcn CLI copies React components. For Vue, Angular or plain JS, install the package for your framework from the Introduction.
1. Set up shadcn
If your project doesn't have shadcn yet, follow the shadcn installation guide first.
2. Add an icon
Browse the Lucide or Huge gallery, click any tile to copy its install command, or replace lu-eye below with the icon you want.
Terminal
npx shadcn@latest add @animateicons/lu-eyeThe icon lands at components/ui/<name>-icon.tsx.
3. Import and use
Example.tsx
tsx
import { EyeIcon } from "@/components/ui/eye-icon"
export default function Example() {
return <EyeIcon size={24} color="#f45b48" />
}