You are viewing the v1.0.0 documentation.

Card

Display content in styled card containers with optional links

Cards create visually distinct content blocks, perfect for feature lists, navigation links, or highlighted content.

Usage

Code
mdx
1<Card
2 title="Getting Started"
3 description="Learn the basics of our platform"
4 href="/docs/v1.0.0/getting-started"
5/>

Live Examples

Basic Card

Documentation

Read the full documentation for detailed guides and API references.

Linked Card

Card with Icon

Guides

Step-by-step tutorials and best practices

Card Grid

Use CardGrid to display multiple cards in a responsive grid layout:

Code
mdx
1<CardGrid cols={2}>
2<Card title="Card 1" description="First card" />
3<Card title="Card 2" description="Second card" />
4</CardGrid>

Props

Card

PropTypeDefaultDescription
titlestringrequiredCard title
descriptionstring-Card description text
hrefstring-Link URL (makes card clickable)
iconstring | ReactNode-Lucide icon name or custom icon
externalbooleanfalseOpens link in new tab
childrenReactNode-Custom content

CardGrid

PropTypeDefaultDescription
childrenReactNoderequiredCard components
cols1 | 2 | 32Number of columns