Card
A box with a header, content, and footer.
Ship it
Deploy your app in one click.
Server-rendered HTML, styled with plain CSS.
Installation
dui add card buttonUsage
import { Button } from './ui/button.tsx'
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './ui/card.tsx'
<Card>
<CardHeader>
<CardTitle>Ship it</CardTitle>
<CardDescription>Deploy your app in one click.</CardDescription>
</CardHeader>
<CardContent>Server-rendered HTML, styled with plain CSS.</CardContent>
<CardFooter>
<Button>Deploy</Button>
</CardFooter>
</Card>