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 componentsE-commerce

Variant Picker

Product option selector with named colour swatches, a size grid with sold-out strikes and low-stock hints, a segmented fit choice, rolling per-variant price and a notify-me state.

Preview

Waxed field jacket

Organic cotton, water-resistant finish

$10 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 920 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 980 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9.00 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 900 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9

Colour Stone

Fit

Size L

Only 2 left
Sold outLow stock

Only 2 left.

Try Stone in XL, or Ember for the sale price

Install

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

Props

PropTypeDefaultDescription
colors{ value; label; swatch }[]—Colour swatches; swatch is any CSS colour, ideally a token.
sizes{ value; label }[]—Size grid; sold-out sizes are struck, low-stock ones get a dot.
fits / fitLabel{ value; label }[] / string— / "Fit"Optional segmented choice: fit, material, length.
variants{ color; size; fit?; price; compareAt?; stock }[]—Every sellable combination; drives price and stock.
value / defaultValue / onValueChange{ color?; size?; fit? }first colour and fitThe selection, controlled or not.
lowStockAtnumber3Stock at or below this shows Only n left.
onAdd(variant: Variant) => void—Add to cart with the chosen variant.
onNotify(selection) => void—Notify me action for a sold-out variant.
currency / localestring"USD" / "en-US"Money formatting.

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 ↗