# Vintage Knob

Potenciômetro com arraste vertical e trava de curso.

- Nome no registry: `vintage-knob`
- Tipo: componente
- Dependências npm: react
- Demo: https://ui.visantlabs.com/c/vintage-knob
- Categorias: controles, audio, knob

## Quando usar

- Use quando: Ajustar parâmetro contínuo num painel de áudio onde vários knobs dividem pouco espaço
- Evite quando: Parâmetro principal com escala e leitura: vintage-large-knob; número em editor, scrub-input

## Instalar

```bash
npx shadcn@latest add @visant/vintage-knob
```

## Usar

```tsx
<VintageKnob />
```

## API

### VintageKnob

- `accent?: string = "var(--vintage-light)"`
- `className?: string`
- `fmt?: (v: number) => string`
- `label?: string = "BASS"`
- `log?: boolean = false`
- `max?: number = 10`
- `min?: number = 0`
- `onChange?: (value: number) => void`
- `size?: number = 81`
- `value?: number = 5`
