Ui
Card
A flexible container for content grouping.
Cards are foundational containers that can be used for anything from feature lists to blog posts.
Usage
{/* Card demo (component not bundled) */}
Interactive Cards
By passing an href prop, the card becomes a clickable link with hover effects.
{/* Card demo (component not bundled) */}
Props
| Prop | Type | Default | Description |
|---|---|---|---|
href | string | undefined | If provided, renders as an anchor and adds hover styles. |
as | string | div (or a if href) | The HTML tag to render. |
class | string | undefined | Custom classes. |