Card

Data Display

A borderless solid surface with a top-lit curved edge.

Live preview

Project

Manage your project settings and deployments.

Solid surfaces, clear hierarchy and a top-lit curved edge.

Installation

Import the component from the kit. The package ships source and is transpiled by Next.js.

Import
import { Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@nphuonha/ui-kit";

Usage

Compose the component with your own content. All controls share the same focus, disabled and invalid states.

Usage
<Card>
<CardHeader>
<CardTitle>Title</CardTitle>
<CardDescription>Description</CardDescription>
</CardHeader>
<CardContent>Content</CardContent>
</Card>

Examples

Profile card

Combine the card parts with badges and actions.

Profile card
AQ

Avery Quinn

Product designer

Pro
24
Projects
1.2k
Followers
86
Following

API Reference

Props are additive to the underlying Base UI or native element.

PropTypeDefaultDescription
Carddiv—Rounded solid surface with soft depth.
CardHeaderdiv—Title and description stack.
CardTitleh3—Card heading.
CardDescriptionp—Muted supporting text.
CardContentdiv—Padded content area.
CardFooterdiv—Actions area.