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 componentsNumbers & counters

Compare bar

Two-sided comparison bars meeting at a centre axis with values, a winner highlight per row and win counts.

Preview

October, this year vs last

1 win202520263 wins
  • Revenue
    $182K
    $241K
  • Orders
    3,420
    4,105
  • Average order
    53.2
    58.7
  • Refunds · lower is better
    212
    268
  • Support replies within 1 h
    71
    71

Two checkout designs

1 winDesign ADesign B2 wins
  • Conversion %
    3.8
    4.4
  • Seconds to pay · lower is better
    41
    52
  • Drop-off at shipping % · lower is better
    18
    12

Install

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

Props

PropTypeDefaultDescription
rows{ key: string; label: string; left: number; right: number; invert?: boolean }[]—Rows to compare; invert means lower wins.
labelstring—Name of the comparison.
leftLabelstring—Name of the left side.
rightLabelstring—Name of the right side.
leftColorstring"var(--chart-1)"Colour of the left side.
rightColorstring"var(--chart-2)"Colour of the right side.
perRowbooleanfalseScale each row on its own (rows with different units).
valueFormatter(value: number) => stringIntl numberFormats values.

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 ↗