Basic Usage
Card Title
This is the content of the card.
Card Grid
Use <CardGrid> (or <Columns>) to arrange cards in a grid layout.
First Card
Content for the first card.
Second Card
Content for the second card.
Variants
Cards come in four visual variants.
Default
The default card style with subtle background.
Outline
Transparent background with visible border.
Ghost
Minimal style with no visible border.
Elevated
Raised card with shadow effect.
Sizes
Cards support three sizes: sm, md (default), and lg.
Small Card
Compact size for dense layouts.
Medium Card
Default size for most use cases.
Large Card
Larger size with more padding.
Props
Card
Size of the card affecting padding, font sizes, and icon dimensions.
CardGrid
Examples
With Link and Icon
Documentation
Read the full documentation.
Horizontal Layout
Horizontal Card
This card uses a horizontal layout with the image on the left.
With Image
Card with Image
This card displays an image at the top.
With CTA
Card with CTA
This card has a call to action link at the bottom.
Elevated Variant with Link
Featured Article
Elevated cards have a subtle lift effect on hover.
Loading State
Data Attributes
Cards expose data attributes for custom styling:
data-card-variant- The variant typedata-card-size- The sizedata-card-interactive- Whether the card is clickabledata-card-horizontal- Whether using horizontal layoutdata-card-loading- Whether in loading state