audio/ui
Toggle Mode D
Get Started
Paste one prompt into your agent and you're set up. Then pick where to go next.
audio/ui is a library of audio controls, like knobs, faders and timelines, that your agent puts together into instruments and editors. It works with React, Vue, Svelte and Web Components.
New here? The Introduction shows how it all works.
Quick Start
Pick your framework, then copy this prompt into your agent.
Set up audio/ui in this React project. It needs React 19 or newer and Tailwind CSS v4, with shadcn/ui set up (components.json). 1. Components install with the shadcn CLI, and @audio-ui is in shadcn's registry directory, so there is nothing to configure. For example: npx shadcn@latest add @audio-ui/knob. The headless primitive alone is @audio-ui/knob-react. If a release-age policy blocks an install, stop and ask me instead of changing it. 2. Add a note to AGENTS.md, creating it if needed: before using audio/ui, follow the audio-ui skill if it is installed, and read https://www.audio-ui.dev/llms.txt. A component's page is https://www.audio-ui.dev/docs/components/base/<name>, and every docs page is also served as markdown. 3. If you support skills, run: npx skills@latest add ouestlabs/audio-ui 4. If you support MCP servers, connect https://www.audio-ui.dev/mcp, so you can search the components and read their docs live.
Then ask your agent to build a component:
Prompt
Build a filter cutoff control with audio/ui: a knob from 20 Hz to 20 kHz on a log scale, that shows its value in Hz and returns to 1 kHz on a double click. Use our existing styles.
Find a Component
KnobTurn a value with a drag, the wheel or the keyboard.FaderSet a gain or a send level on a linear slider.PadStrike drum pads with velocity and choke groups.PianoPlay or show notes on a keyboard of any range.WaveformDraw audio, seek through it and mark regions on it.ArrangementPlace clips on a zoomable timeline with tracks and a playhead.
Build Your Own
EngineDevices, time, analysis, MIDI, scales and playback.GuidesWhat makes the sound: output, clock, synthesis, input and analysis.InstallationSet up the styled components by hand in a React app.