New
Latest updates and features
Today
The Display Cards component creates an engaging visual hierarchy with stacked cards that respond to hover interactions. Perfect for showcasing featured content, portfolios, or highlighting key information.
Installation
Examples
Custom Display Cards
Showcase your content with stacked, animated cards
Trending
Most popular this week
Last week
Usage
Basic Usage
Custom Cards
Customization
Custom Styling
Custom Colors
Custom Layout
Notes
- Built with Tailwind CSS for responsive design
- Uses CSS Grid for stacking cards
- Implements smooth hover animations
- Supports custom icons from any library
- Includes grayscale hover effects
- Maintains consistent spacing
- Supports dark mode
- TypeScript support with proper types
Features
- Stacked card layout
- Hover animations
- Grayscale effects
- Custom icons
- Responsive design
- Dark mode support
- Customizable styles
- Accessible markup
Props
DisplayCards Props
Prop | Type | Description |
---|---|---|
cards | DisplayCardProps[] | Array of card configurations to display |
DisplayCard Props
Prop | Type | Description |
---|---|---|
className | string | Additional CSS classes for the card |
icon | React.ReactNode | Icon component to display |
title | string | Card title |
description | string | Card description |
date | string | Date or timestamp |
iconClassName | string | Additional CSS classes for the icon container |
titleClassName | string | Additional CSS classes for the title |