# 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](/docs/introduction) shows how it all works.

## Quick Start

Copy the prompt of your framework into your agent.

**react**

```text
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.
```

**svelte**

```text
Set up audio/ui in this Svelte project. It needs Svelte 5. The files go in src/lib/components/audio-ui: import them through the alias of src/lib ($lib, or #lib in the latest SvelteKit; outside SvelteKit, add the alias to the bundler's config): create what is missing. Tailwind CSS is not needed.

1. The shadcn CLI is for React, so do it by hand. The address of its item is https://www.audio-ui.dev/r/styles/ui-sdk-nova/knob-svelte.json for the knob, <primitive>-svelte.json for the others. If a release-age policy blocks an install, stop and ask me instead of changing it. Open the item's JSON address, write each entry of files to its path under components/audio-ui/ with its content, and install the packages of its dependencies.
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.
```

**vue**

```text
Set up audio/ui in this Vue project. It needs Vue 3. The files go in src/components/audio-ui, and the bundler needs the @ alias to import them: create what is missing. Tailwind CSS is not needed.

1. The shadcn CLI is for React, so do it by hand. The address of its item is https://www.audio-ui.dev/r/styles/ui-sdk-nova/knob-vue.json for the knob, <primitive>-vue.json for the others. If a release-age policy blocks an install, stop and ask me instead of changing it. Open the item's JSON address, write each entry of files to its path under components/audio-ui/ with its content, and install the packages of its dependencies.
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.
```

**web**

```text
Set up audio/ui in this project, with no framework: plain HTML and a module script. No Tailwind CSS.

1. The shadcn CLI is for React, so do it by hand. The address of its item is https://www.audio-ui.dev/r/styles/ui-sdk-nova/knob-web.json for the knob, <primitive>-web.json for the others. Import the file once, and it registers the audio-ui-knob tags. If a release-age policy blocks an install, stop and ask me instead of changing it. Open the item's JSON address, write each entry of files to its path under components/audio-ui/ with its content, and install the packages of its dependencies.
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:

```text
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

- [Knob](/docs/components/base/knob): Turn a value with a drag, the wheel or the keyboard.
- [Fader](/docs/components/base/fader): Set a gain or a send level on a linear slider.
- [Pad](/docs/components/base/pad): Strike drum pads with velocity and choke groups.
- [Piano](/docs/components/base/piano): Play or show notes on a keyboard of any range.
- [Waveform](/docs/components/base/waveform): Draw audio, seek through it and mark regions on it.
- [Arrangement](/docs/components/base/arrangement): Place clips on a zoomable timeline with tracks and a playhead.

## Build Your Own

- [Engine](/docs/engine): Devices, time, analysis, MIDI, scales and playback.
- [Guides](/docs/guides): What makes the sound: output, clock, synthesis, input and analysis.
- [Installation](/docs/installation): Set up the styled components by hand in a React app.

## Work with Agents

- [Skills](/docs/agents): Help your agent pick the right layer and avoid the usual mistakes.
- [MCP Server](/docs/mcp): Let your agent list components, read their docs and search the catalog.
- [REST API](/docs/api): Read the registry and the docs over plain HTTP.
- [llms.txt](/llms.txt): A map of every docs page, each also served as markdown.
