Skip to content

Shadcn Number Scrubber

A numeric input you adjust by dragging sideways, inspired by video editing software like Resolve.

shadcn-react-number-scrubber.vercel.app

Shadcn Number Scrubber website screenshot
Added
GitHub stars
34
Price
Free

About

About Shadcn Number Scrubber

Shadcn Number Scrubber is a number field you change by clicking and dragging horizontally, a pattern borrowed from desktop video editors such as Resolve. It supports configurable sensitivity for fine or coarse control, minimum and maximum bounds, custom step sizes and full TypeScript types. The examples page shows an integer counter, an opacity control with a step of 0.01, rotation in 15 degree steps, a price input with two decimals and a percentage in steps of 5.

Install it with the shadcn CLI using the number-scrubber.json registry file hosted in the GitHub repository. It currently requires TypeScript and the shadcn/ui Input component. The repository lists no license and had its last push in January 2025. It suits design tools, editors, parameter panels and settings forms where users tweak values often.

Shadcn Number Scrubber features

6 features

  • Click and drag to adjust values
  • Configurable sensitivity
  • Min and max bounds
  • Custom step sizes
  • Fully typed with TypeScript
  • Follows shadcn/ui styling conventions

Install Shadcn Number Scrubber

1 command

Terminal

$ npx shadcn@latest add https://raw.githubusercontent.com/camwebby/shadcn-react-number-scrubber/refs/heads/main/public/registry/number-scrubber.json

What you can build with Shadcn Number Scrubber

3 use cases

  • Tweaking opacity or rotation in a design editor
  • Entering a price with fine decimal control
  • Adjusting percentages in a settings panel

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Shadcn Number Scrubber is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro