Sparkline Card

Revenue$48.2k
About this piece

Sparkline Card

Mini SVG line plotting any number array. Tone sets the stroke color.

Usage

The import and the props worth knowing about, in one place.

import { Card2 } from "@/components/beste/piece/card2";

<Card2
  surface="card"
  bordered={false}
  inverted={false}
  label="Revenue"
  value="$48.2k"
  data={[
    12,
    18,
    14,
    22,
    20,
    28,
    24,
    32,
    30,
    38,
    36,
    44
  ]}
  tone="success"
/>

More Card pieces

View all Card
MRR · 90d$124K
  • Direct48%
  • Referral24%
  • Social18%
  • Search10%
Monthly revenue
$12,459+24%
Max Richter
Max RichterVP Engineering
Kelly Moran
Kelly MoranStaff eng
PB
Peter BroderickDesign lead
Anne Müller
Anne MüllerSr. PM
Growth
$48/ mo
Unlimited editors
250 GB storage
Realtime analytics
Sessions · this week8,214