Card Components
Comprehensive card library with variants, states, and interactive examples
Interactive Demo
Click any card below to interact
Clickable Card
Outline Card
Compact Card
Card Variants
Basic Card
Basic Card
Clean white card with shadow and hover effects
General content, forms, information
Outline Card
Outline Card
Border-focused design with subtle background
Secondary content, subtle emphasis
Compact Card
Compact Card
Smaller padding for dense layouts
Lists, grids, tight spaces
Gradient Card
Gradient Card
Beautiful gradient backgrounds
Hero sections, featured content
Glass Card
Glass Card
Glassmorphism effect with backdrop blur
Overlays, modern aesthetics
Glass Card Effect
Specialized Card Types
Feature Cards
Fast Performance
Lightning-fast load times with optimized code and edge computing.
AI-Powered
Intelligent automation and smart recommendations for your workflow.
Analytics
Comprehensive insights and data visualization for better decisions.
Statistics Cards
Revenue
$45,231
↑ +12.5%
Projects
24
↑ +3 this week
Success Rate
89%
Stable
Response Time
2.4h
↓ -15%
Action Cards
Create Project
Start building something amazing with our tools.
View Analytics
See detailed insights about your performance.
Upgrade Plan
Unlock premium features and advanced tools.
Image Cards
Web Development
Full-stack development with modern frameworks.
Data Analytics
Transform data into actionable insights.
Business Strategy
Strategic planning and execution for growth.
Join Our Team
We're hiring talented developers
Card Properties & States
Loading States
Loading State
Always Loading
Disabled
Selection States
Card 1
Card 2
Card 3
Styling Variants
Small
Medium
Large
Extra Large
Border Radius Variants
Small
Medium
Large
Extra Large
Advanced Card Composition
Project Dashboard
Active3 of 4 milestones completed
Premium Plan
- Unlimited projects
- Advanced analytics
- Priority support
- AI-powered insights
Code Examples
import { BasicCard, CardTitle, CardContent } from '~/components/ui';
function MyComponent() {
return (
<BasicCard>
<CardTitle>Card Title</CardTitle>
<CardContent>
This is the card content with some descriptive text.
</CardContent>
</BasicCard>
);
}Basic card structure with title and content
import { FeatureCard } from '~/components/ui';
import { FaRocket } from 'react-icons/fa';
function Features() {
return (
<FeatureCard
icon={<FaRocket />}
title="Fast Performance"
description="Lightning-fast load times with optimized code."
/>
);
}Feature cards with icons for marketing/product pages
import { StatCard } from '~/components/ui';
function Dashboard() {
return (
<StatCard
label="Revenue"
value="$45,231"
trend="up"
trendValue="+12.5% from last month"
icon={<FaDollarSign />}
variant="success"
/>
);
}Statistics cards with trend indicators and icons
import { ActionCard } from '~/components/ui';
function Actions() {
return (
<ActionCard
title="Create Project"
description="Start building something amazing"
actionLabel="Get Started"
onAction={() => console.log('Action triggered')}
icon={<FaRocket />}
/>
);
}Action cards with call-to-action buttons
Best Practices
✅ Do's
- Use BasicCard for most content and information
- Reserve GradientCard for hero sections and featured content
- Include proper CardTitle and CardContent structure
- Use CardHeader and CardFooter for complex layouts
- Consider loading states for async content
❌ Don'ts
- Don't mix too many card variants on the same page
- Avoid using GlassCard without proper background context
- Don't overload cards with too much information
- Avoid disabled cards unless there's a clear reason
- Don't use cards for navigation - use proper nav components