Skip to content

Card

Card container with header/title/description/content/footer slots.

Terminal window
npx github:truongnat/rnui#cli add card

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/card.json # or /uniwind/
<Card>
<CardHeader>
<CardTitle>Card title</CardTitle>
<CardDescription>Description</CardDescription>
</CardHeader>
<CardContent>{/* content */}</CardContent>
<CardFooter>{/* footer */}</CardFooter>
</Card>
  • components/ui/card.tsx

Installs together with: utils, text, theme