# Scrub Number Input

https://fieldbook.lizardi.mx/components/scrub-number-input

Category: Forms
![Still of the Scrub Number Input component, a Fieldbook UI component in Forms.](https://fieldbook.lizardi.mx/thumbs/scrub-number-input.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/scrub-number-input-7a7d3156ab.mp4 (5 s, silent)

Scrub Number Input: A number field with increment and decrement buttons plus a draggable label that scrubs the value up or down as you drag it sideways.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| label | text | Weight | Up to 20 characters |
| value | number | 12 | From 0 to 200; step 1 |
| min | number | 0 | From 0 to 50; step 1 |
| max | number | 200 | From 50 to 999; step 1 |
| accentColor | color | #FF6A1F | No additional limit in the metadata. |

## Usage notes

Scrub Number Input uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Scrub Number Input?

Scrub Number Input is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Scrub Number Input depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in Scrub Number Input?

The React source for Scrub Number Input includes: native elements (button, input); attributes and handlers (aria-hidden, aria-label, onKeyDown); key comparisons (ArrowDown, ArrowUp, Enter). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Scrub Number Input handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Scrub Number Input's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "scrub-number-input",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Focus Guard Form](https://fieldbook.lizardi.mx/components/focus-guard-form)
- [Notification preferences](https://fieldbook.lizardi.mx/components/notification-preferences)
- [Release notification form](https://fieldbook.lizardi.mx/components/release-notification-form)
- [Scribble strike checklist](https://fieldbook.lizardi.mx/components/scribble-strike-checklist)
- [Tall Code Keypad](https://fieldbook.lizardi.mx/components/tall-code-keypad)
- [Verification Code Card](https://fieldbook.lizardi.mx/components/verification-code-card)
