{{> docs-start pageTitle="Cards" pageDescription="Card components for displaying content" }}

Examples

{{#> example-block title="Basic Card" description="Simple card with just content area." id="card-basic" language="html" }} {{> card/examples/basic}} {{/example-block}} {{#> example-block title="Card with Header" description="Card with separated header section." id="card-header" language="html" }} {{> card/examples/header}} {{/example-block}} {{#> example-block title="Card with Footer" description="Card with footer section for actions." id="card-footer" language="html" }} {{> card/examples/footer}} {{/example-block}} {{#> example-block title="Feature Card" description="Card with icon for highlighting features." id="card-feature" language="html" }} {{> card/examples/feature}} {{/example-block}} {{#> example-block title="Stats Card" description="Card for displaying metrics and statistics." id="card-stats" language="html" }} {{> card/examples/stats}} {{/example-block}}

Usage

Cards use semantic theme classes:

Theme Classes

.bg-card
.text-card-foreground
.border-border
.bg-muted
.text-muted-foreground
.text-primary
{{> docs-end}}