# tabbar

- 分组：核心组件（Core）
- 页面：/components/tabbar
- 源码：packages/react/src/components/tabbar.tsx

## 导出

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

## Props（TabbarProps）

| 名称 | 必填 | 类型 | 说明 |
| --- | --- | --- | --- |
| `items` | 是 | `TabbarItem[]` |  |
| `value` | 是 | `string` |  |
| `onChange` | 否 | `(key: string) => void` |  |
| `renderItem` | 否 | `(item: TabbarItem, state: { active: boolean }) => React.ReactNode` | Render an item with a custom link component (e.g. a router Link). |
| `aria-label` | 否 | `string` |  |
