Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsCharts & data viz

Sparkline

Tiny inline line, area or bar chart with last-point dot, min/max markers, trend colour, a hover/keyboard value tooltip and a sliding live mode.

Preview

Revenue

+12.4%
$48,210

Churn

−0.4 pt
2.1%

Tickets

+9%
318

Requests / s

live
63
CPU
46%
Memory
66%
Disk I/O
11 MB/s

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
datanumber[]—Values, oldest first.
labelstring—What the values are; the accessible name adds a summary.
type"line" | "area" | "bar""line"Mark type.
widthnumberparent widthWidth in px; omit to fill the parent.
heightnumber32Height in px.
colorstringtrend or --chart-2Any CSS colour.
trendbooleanfalseColour by direction: success up, danger down.
invertTrendbooleanfalseTreat a falling line as good.
showLastbooleantrueDot on the last point.
showMinMaxbooleanfalseMarkers on the lowest and highest points.
curve"smooth" | "linear""smooth"Monotone or straight segments.
labelsstring[]—X labels shown in the tooltip.
valueFormatter(value: number) => string1 decimalFormats tooltip and summary values.
interactivebooleantrueHover and arrow-key value readout.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗