# SidebarTrigger (@salmonui/navigation/sidebar-layout)

> The SidebarTrigger function of @salmonui/navigation/sidebar-layout: A button that toggles the panel (or its rail) with aria-expanded and aria-controls.

Canonical: https://salmonui.dev/docs/reference/navigation/sidebar-layout/SidebarTrigger

```ts
import { SidebarTrigger } from '@salmonui/navigation/sidebar-layout';
```

Entry index: https://salmonui.dev/docs/reference/navigation/sidebar-layout (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/navigation/sidebar-layout.md).

## Reference

Kind: function

```ts
function SidebarTrigger(props: SidebarTriggerProps): ReactElement;
```

A button that toggles the panel (or its rail) with `aria-expanded` and `aria-controls`.
