In Progress
UI Component Library
Progress75%
Last updated: 2 hours ago/5 open issues
The Expandable Card component provides an elegant way to display project status information with an expandable interface. Perfect for project dashboards, task management, and GitHub repository overviews.
Installation
Examples
Completed
Design System
Progress100%
Last updated: 2 hours ago/0 open issues
In Progress
Analytics Dashboard
Progress45%
Last updated: 2 hours ago/8 open issues
Hooks
You also need to install the useExpandable
hook.
Component use-expandable not found in registry.
Usage
Basic Usage
Types
Customization
Custom Animation Settings
Custom Styling
Custom Badge Colors
Notes
- Built with Framer Motion for smooth animations
- Uses Lucide React for consistent iconography
- Responsive design with mobile-first approach
- Interactive expand/collapse functionality
- TypeScript support with proper types
- Integrates with Shadcn UI components
- Supports custom styling and theming
- Optimized 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
Props
Prop | Type | Description |
---|---|---|
title | string | Project title |
progress | number | Progress percentage (0-100) |
dueDate | string | Project due date |
contributors | Contributor[] | Array of project contributors |
tasks | Task[] | Array of project tasks |
githubStars | number | Number of GitHub stars |
openIssues | number | Number of open issues |