# toolbar

- 分组：组合组件（Composite）
- 页面：/components/toolbar
- 源码：packages/react/src/components/toolbar.tsx

## 导出

```ts
import { Toolbar } from "@modra/react";
```

## Props（ToolbarProps）

| 名称 | 必填 | 类型 | 说明 |
| --- | --- | --- | --- |
| `start` | 否 | `React.ReactNode` | Content placed before the main toolbar children. |
| `end` | 否 | `React.ReactNode` | Content placed after the main toolbar children. |
| `align` | 否 | `ToolbarAlign` | Alignment used when the toolbar has no explicit start/end slot. |
| `wrap` | 否 | `boolean` | Whether toolbar content may wrap on narrow viewports. |
| `density` | 否 | `ToolbarDensity` | Spacing preset for dense data-management surfaces. |
