Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/camwebby/shadcn-react-number-scrubber


https://github.com/camwebby/shadcn-react-number-scrubber

react shadcn shadcn-react shadcn-ui

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# Shadcn Number Scrubber Component

A draggable numeric input component for React, built with [shadcn/ui](https://ui.shadcn.com/), inspired by desktop video editing software like Resolve.

### View a demo:
[https://shadcn-react-number-scrubber.vercel.app/](https://shadcn-react-number-scrubber.vercel.app/)

## Features

- Click and drag horizontally to adjust values
- Configurable sensitivity for fine/coarse control
- Supports min/max bounds
- Customizable step sizes
- Fully typed with TypeScript
- Follows shadcn/ui styling conventions

## Installation

You can install this component using the shadcn CLI:

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

Currently prerequires TypeScript and the Shadcn Input component.