# Expandable Card

> An interactive, expandable card component for displaying project status and details with smooth animations.  Notes: 	•	Built with Framer Motion for smooth animations 	•	Uses Lucide React for consistent iconography 	•	Responsive design with a mobile-first approach 	•	Interactive expand/collapse functionality 	•	TypeScript support with proper types 	•	Integrates with Shadcn UI components 	•	Supports custom styling and theming 	•	Optimised performance with proper hooks usage  Features: 	•	Smooth expand/collapse animations 	•	Progress tracking 	•	Contributor avatars with tooltips 	•	Task completion status 	•	GitHub integration display 	•	Interactive buttons and badges 	•	Responsive layout 	•	Accessibility features

- Author: [Prism UI](https://21st.dev/@Codehagen)
- Library: [Prism UI](https://21st.dev/@Codehagen/library/prism-ui)
- License: mit
- Tags: Card, Collapsible
- npm dependencies: lucide-react, framer-motion
- Live preview: https://21st.dev/@Codehagen/components/expandable-card

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/Codehagen/expandable-card?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/card.md
