Animated Icons
A collection of 36 beautifully animated icons built with Framer Motion and SVG. Perfect for enhancing your UI with smooth, performant animations.
Installation
Install any icon via the shadcn CLI:
npx shadcn add accordion-icon
npx shadcn add button-icon
npx shadcn add dialog-iconFeatures
- ⚡ Smooth Animations - Built with Framer Motion for fluid motion
- 🎨 Customizable - Control size, color, and animation state
- 📦 Tree-shakeable - Import only what you need
- ♿ Accessible - ARIA-compliant with proper labels
- 🎯 TypeScript - Full type safety included
Usage
import { ButtonIcon } from "@/components/icons/animated"
export function MyComponent() {
const [isActive, setIsActive] = useState(false)
return (
<button onClick={() => setIsActive(!isActive)}>
<ButtonIcon size={24} isActive={isActive} />
</button>
)
}Available Icons
UI Components
accordionalertavatarbadgebuttoncheckboxcollapsiblecomboboxcommanddialoginputradiosearchselectsettingsshieldsliderswitchtooltipNavigation
bookbreadcrumbmenupaginationtabsData & Feedback
calendarchartdata-tablenotificationprogressLayout
aspect-ratiocardcarousellayersExamples
Basic Icon
<ButtonIcon size={20} />Active State
<ButtonIcon size={20} isActive={true} />Custom Styling
<ButtonIcon size={24} isActive={isActive} className="text-blue-500" />