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

Restock Alert

Out-of-stock product state: sold-out size pills, a notify-me email field for the chosen size, the expected restock date from a fixed now, a subscribed state, an in-stock shortcut, and a row of similar items in stock.

Preview

Heathline leather boot

Chestnut$158.00Some sizes sold out
Size

42 expected back Dec 2 (in about 4 weeks)

One email, then we forget your address.

Similar, in stock now

  • Trail boot$148.00
  • Moor boot$132.00
  • Ridge mid$119.00

Heathline leather boot

Chestnut$158.00Some sizes sold out
Size

We’ll let you knowOne email to ines@example.com when 41 is back, expected Nov 18.

Install

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

Props

PropTypeDefaultDescription
product{ name; detail?; price; thumb? }—The product shown in the header.
sizes{ value; label; stock; restock?: "YYYY-MM-DD" }[]—Size pills; stock 0 is crossed out and can be subscribed to.
nowstring—UTC date the restock countdown is measured from; the clock is never read.
defaultSizestringfirst sold-out sizeStarting size.
defaultEmailstring""Prefilled email.
defaultSubscribedbooleanfalseStart subscribed for the default size (previews).
onNotify({ email, size }) => void | Promise<unknown>—Save the alert; a rejection's message is shown.
onAddToCart(size: string) => void—Shown when an in-stock size is picked.
similar{ id; name; price; thumb?; href }[][]Similar items in stock, shown as a scrolling row.
currency / localestring"USD" / "en-US"Price and date 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 ↗