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

Inline Confirm Button

A destructive button that expands in place into a question with Cancel and a danger-key confirm, focusing the safe option, with Escape, a timeout, a working state and a done state.

Preview

3 files selected

  • brief-v3.pdf
  • moodboard.fig
  • notes-old.md

States

Rest
Asking
Delete 3 files?
Delete 3 files?
Working
Delete 3 files?
Deleting…
Done
3 files deleted
3 files deleted
Small

Install

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

Props

PropTypeDefaultDescription
labelstring—Resting label. Required.
questionstring—Asked in place, e.g. “Delete 3 files?”. Required.
iconReactNodetrashResting icon.
confirmLabel / cancelLabelstring"Delete" / "Cancel"The two answers; Cancel gets focus.
workingLabel / doneLabelstring"Deleting…" / "Deleted"While onConfirm runs, and after it succeeds.
onConfirm() => void | Promise<unknown>—A promise shows the working state; a rejection shows its message.
onCancel() => void—Cancel or Escape.
timeout / doneDurationnumber6000 / 2200Ms before an unanswered ask, or the done state, returns to rest; 0 holds.
defaultPhase"rest" | "confirm" | "working" | "done""rest"Start in a phase (static previews).
size"sm" | "md""md"32 or 36 px tall.

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 ↗