Components
Card
Displays a card with header, content, and footer.
Create project
Deploy your new project in one click.
Usage
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@murasakijs/ui";<Card>
<CardHeader>
<CardTitle>Card title</CardTitle>
<CardDescription>Card description</CardDescription>
</CardHeader>
<CardContent>Content</CardContent>
<CardFooter>Footer</CardFooter>
</Card>API Reference
Subcomponents
| Component | Renders |
|---|---|
Card | The outer bordered container. |
CardHeader | Vertical stack for CardTitle / CardDescription. |
CardTitle | The card's heading. |
CardDescription | Muted supporting text under the title. |
CardContent | The main body of the card. |
CardFooter | A row for actions, typically buttons. |
All subcomponents extend HTMLAttributes<HTMLDivElement> — pass any native
<div> prop (className, onClick, ...) to any of them.