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 componentsNumbers & counters

Number scrubber

Drag-to-scrub numeric field with acceleration, Shift/Alt modifiers, typed entry, units, bounds and spinbutton keyboard support.

Preview

132 × 88

Rectangle

Position
Xpx
Ypx
Size
Wpx
Hpx
Appearance
°
px
%

Drag a label to scrub. Shift ×10, Alt ×0.1. Click to type.

Install

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

Props

PropTypeDefaultDescription
labelReactNode—Short visible label and drag handle ("X", an icon).
namestringlabel textAccessible name when the label is short or an icon.
valuenumber—Controlled value.
defaultValuenumber0Initial value when uncontrolled.
onValueChange(value: number) => void—Called on every change.
onValueCommit(value: number) => void—Called when a drag, key step or typed edit ends.
minnumber-InfinityLower bound.
maxnumberInfinityUpper bound.
stepnumber1Base step; decimals follow it.
unitstring—Unit after the number (px, %, °).
pixelsPerStepnumber3Drag distance per step at slow speed.
accelerationbooleantrueSpeed up fast drags (×2 brisk, ×4 flick); off gives a constant rate.
wrapbooleanfalseWrap around between min and max (angles).
disabledbooleanfalseDisable dragging and typing.
inputNamestring—Form field name.

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 ↗