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

Hold Button

Press and hold to confirm: a fill sweeps across the button with the label inverting at its edge, springs back if released early and draws a tick on completion.

Preview

  • q3-forecast.xlsx
  • board-deck-v4.key
  • notes-draft.md

3 files selected

Deploy #41 · main@4f9a2c1

Press and hold with a pointer, or hold Space or Enter. Let go early to cancel.

Install

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

Props

PropTypeDefaultDescription
onConfirm() => void—Fires once when a hold completes.
durationnumber1200Hold length in ms. Reduced motion uses 60% of it.
label / holdingLabel / confirmedLabelReactNode"Hold to confirm" / label / "Done"Text at rest, while held and after confirming.
iconReactNode—Leading icon; turns into a drawn tick on confirm.
variant"primary" | "danger""primary"Fill colour: the ink key or danger red.
size"sm" | "md" | "lg""md"32, 36 or 44 px tall.
resetAfternumber1600Ms before returning to idle after confirming. 0 stays confirmed.
announce{ holding?, confirmed? }—Screen reader messages.

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 ↗