Dev Design Library

Pan Control

Left and right balance with a fill from the centre, a centre detent and reset.

Pan Control preview
Library
audiocn
Framework
React
Type
ui
License
MIT
Dependencies
@base-ui/react, class-variance-authority
Install
npx shadcn@latest add @audiocn/pan-control
Files
  • components/ui/pan-control.tsx
  • lib/audio/types.ts
  • lib/audio/decibels.ts
  • lib/audio/ballistics.ts
  • lib/audio/zones.ts
  • lib/audio/taper.ts
  • lib/audio/bands.ts
  • lib/audio/bar-levels.ts
Source
https://github.com/audiocn/ui

Categories

More from audiocn