SunUI
Founding$79 lifetime updates till Jan 11Claim a seat
ProHover

Scrub Stat Card

Store stat cards you read by running a finger or the cursor along the chart: stems for daily numbers, bars for months, or a ring of ticks for a split.

When to use it

  • A seller or creator dashboard that shows a few headline numbers and lets people read any day without opening a full chart
  • An account or loyalty page that shows a member their own spend, points or orders over time
  • Pairing a good number with the one that keeps it honest: sales and refunds, visitors and abandoned carts, sign-ups and cancellations

Watch out

  • Pass numbers already aggregated; the card draws them and does not fetch or sum anything
  • Stems read best with about 14 to 40 points, bars with 6 to 14; ring with 2 to 6 slices
  • Tell the card when a rise is bad (tone: "bad"), otherwise refunds going up shows in green
  • Keep the two sides of a card about the same kind of chart; the flip morphs shapes, it does not switch chart type

Let your agent add it

One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.

This is a Pro block

One license unlocks every Pro block, now and in the future.

One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.

See pricing

Install with your license

  1. 1. Add the SunUI Pro registry to components.json.
    components.json
    {
      "registries": {
        "@sunui-pro": {
          "url": "https://sunui.synvize.com/r/pro/{name}.json",
          "headers": {
            "Authorization": "Bearer ${SUNUI_LICENSE_KEY}"
          }
        }
      }
    }
  2. 2. Put your license key in .env.local.
    $ SUNUI_LICENSE_KEY=your-license-key
  3. 3. Install the block.
    $ npx shadcn@latest add @sunui-pro/scrub-stat-card
Scrub Stat Card, React Component | SunUI