A structured surface for grouped product content.
Card defines how EnterUI handles a structured surface for grouped product content, including default structure, accessible states, and token-driven styling.
Compose header, content, and footer only when each region has a job.
Ready for final review.
<Card className="docs-preview-card">
<CardHeader>
<CardTitle>Release candidate</CardTitle>
<CardDescription>Ready for final review.</CardDescription>
</CardHeader>
<CardContent>
<Badge variant="success">Stable base</Badge>
</CardContent>
<CardFooter>
<Button size="sm" variant="secondary">Review</Button>
<Button size="sm">Publish</Button>
</CardFooter>
</Card>import {
Badge,
Button,
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@froggdesign/enter-ui-react";Card can also be a simple neutral container.
Use the smallest card anatomy that communicates the content clearly.
Card renders semantic-neutral div regions. Choose meaningful headings in CardTitle and avoid using cards as buttons unless you compose an accessible interactive element inside.
Card, CardHeader, CardContent, and CardFooter extend div props.CardTitle extends heading props.CardDescription extends paragraph props.Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.