StockFind Brand

Cards

Content containers with header, body, and footer

Basic Card

Basic Card

Simple card with content

<Card>
  <Card.Header>
    <Card.Title>Basic Card</Card.Title>
    <Card.Description>Simple card with content</Card.Description>
  </Card.Header>
  <Card.Footer>
    <Button size="sm">Action</Button>
  </Card.Footer>
</Card>

Stock Card

AAPL

Apple Inc.

+2.5%
Price$175.25
P/E28.5
<Card>
  <Card.Header className="flex-row items-center justify-between">
    <div>
      <Card.Title>AAPL</Card.Title>
      <Card.Description>Apple Inc.</Card.Description>
    </div>
    <Chip color="success" size="sm">+2.5%</Chip>
  </Card.Header>
  <Card.Content className="flex flex-col gap-2 text-sm">
    <div className="flex justify-between">
      <span className="text-muted">Price</span>
      <span className="font-medium tabular-nums">$175.25</span>
    </div>
  </Card.Content>
</Card>

Metric Card

ROE

25.3%

<Card>
  <Card.Header>
    <Card.Description>ROE</Card.Description>
    <Card.Title className="text-3xl tabular-nums">25.3%</Card.Title>
  </Card.Header>
  <Card.Footer className="flex items-center gap-2">
    <Chip color="success" size="sm">↑ 2.1%</Chip>
    <span className="text-muted text-xs">vs sector</span>
  </Card.Footer>
</Card>

Card Anatomy

ComponentDescription
CardRoot container
Card.HeaderTop section with title and description
Card.TitleMain heading
Card.DescriptionSecondary text
Card.ContentMain body content
Card.FooterBottom section with actions

On this page