Lambchop
Primitives

Card

Compound component with Header, Title, Description, Content, and Footer sub-components.

import { Card } from "lambchop";

Live Demo

Monthly Revenue

January 2026 performance

$24,680

Updated 2 hours ago

Active Writers

24

Usage

import { Card } from "lambchop";

<Card>
  <Card.Header>
    <Card.Title>Monthly Revenue</Card.Title>
    <Card.Description>January 2026 performance</Card.Description>
  </Card.Header>
  <Card.Content>
    <p className="text-3xl font-semibold">$24,680</p>
  </Card.Content>
  <Card.Footer>
    <p className="text-xs text-muted-foreground">Updated 2 hours ago</p>
  </Card.Footer>
</Card>

Sub-components

ComponentDescription
CardRoot container with border-2 and card background
Card.HeaderTop section with vertical gap
Card.TitleFont-display uppercase heading
Card.DescriptionMuted description text
Card.ContentMain content area
Card.FooterBottom section

Props

All sub-components accept className and standard HTML div attributes.