A modern, animated React component that displays a set of cards; clicking a card expands it smoothly into a modal with more details and a nice blur overlay. Perfect for showcasing detailed collections, product features, SaaS integrations, or informational cards in a sleek design—heavily powered by motion.dev.
Install the ExpandableCard component using the recommended CLI, or copy/paste the implementation into your codebase:
1npx shadcn@latest add http://localhost:3000/r/expendable-card.jsonTo use the ExpandableCard component, import it in your code:
1import ExpandableCard from '@/components/ExpandableCard';| Prop | Type | Default | Description | Required |
|---|---|---|---|---|
- | - | - | This component does **not** accept any props. To customize cards/content, edit the array and markup inside the file. | No |
1<ExpandableCard />cards array to change cards, logos, and descriptions.