Components/Card

Search documentation

Jump to any guide or component.

↑↓ move · Enter open · Esc close

Foundations · Card + CardHeader + CardBody + CardFooter

SSR NativeAccessible

Card

Composes structured content into a bordered product surface.

Live previewv0.1.4

Production workspace

All services are healthy and serving traffic.

Astro
---
import { Card, CardHeader, CardBody, CardFooter } from '@charvesta/cetha';
---

<Card as="article"><CardHeader>Workspace</CardHeader><CardBody>Production is healthy.</CardBody><CardFooter><Button>Open</Button></CardFooter></Card>

API reference

PropTypeDefaultDescription
as'div' | 'article' | 'section''div'Semantic wrapper.
classstringAdditional classes forwarded to the rendered element.

Accessibility

Choose the semantic wrapper based on the card content.