LiveKit docs › Components › Session management › StartAudioButton

---

# Start Audio Button

> A button for starting the agent session's audio track when the browser blocks audio playback.

## Usage

**[StartAudioButton](https://docs.livekit.io/reference/components/agents-ui/component/start-audio-button.md)** preview:

```tsx
'use client';

import { useSession } from '@livekit/components-react';
import { AgentSessionProvider } from '@/components/agents-ui/agent-session-provider';
import { StartAudioButton } from '@/components/agents-ui/start-audio-button';

const TOKEN_SOURCE = TokenSource.endpoint('/api/token');

export function Demo() {
  const session = useSession(TOKEN_SOURCE);

  return (
    <AgentSessionProvider session={session}>
      <StartAudioButton label={{label}}/>
    </AgentSessionProvider>
  );
}
```

## Features

- Displays a button for starting the agent session's audio tracks when the browser blocks audio playback

## Installation

```bash
pnpm dlx shadcn@latest add @agents-ui/start-audio-button

```

## Props

| Prop name | Type | Default |
| --------- | ---- | ------- |
| `size?` | enum | `default` |
| `variant?` | enum | `default` |
| `room?` | Room | – |
| `label` | string | – |
| `ref?` | Ref<HTMLButtonElement> | – |
| `...props?` | ComponentProps<'button'> | |

---

This document was rendered at 2026-06-07T11:34:11.466Z.
For the latest version of this document, see [https://docs.livekit.io/reference/components/agents-ui/component/start-audio-button.md](https://docs.livekit.io/reference/components/agents-ui/component/start-audio-button.md).

To explore all LiveKit documentation, see [llms.txt](https://docs.livekit.io/llms.txt).