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 componentsButtons & actions

Status Button

One promise-driven button that walks idle, loading with a spinner, success with a drawn tick and error with a shake and retry, without changing width.

Preview

Display name

Ines Moreau

Handle

@ines

Last saved 3 min ago

StatesSavedFailed.

Install

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

Props

PropTypeDefaultDescription
onAction() => unknown—Runs on click. A promise drives loading → success or error; a sync return is success.
loadingLabel / successLabel / errorLabelReactNode"Saving…" / "Saved" / "Retry"Labels per state. Clicking the error state retries.
variant"primary" | "secondary""primary"The lit key, or a raised card button.
size"sm" | "md" | "lg""md"32, 36 or 40 px tall.
resetAfternumber2000Ms before success returns to idle. 0 stays. Errors wait for a retry.
status / onStatusChange"idle" | "loading" | "success" | "error"—Controlled status.

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 ↗