Card
A lightweight container with optional header and actions.
Usage
Header
Content inside a card.
Snippet
import { Card } from '@creo-team/buzz-ui/server'
<Card header="Header" actions={<Button variant="subtle">Action</Button>}>
Content
</Card>
API
Prop | Type | Description |
---|---|---|
header | React.ReactNode | Optional header content |
actions | React.ReactNode | Right-aligned action area |
Full API: /components/card/api