# tabs

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

## 导出

```ts
import { Tabs, TabsCloseButton, TabsContent, TabsList, TabsTrigger } from "@modra/react";
```

## Props（TabsProps）

| 名称 | 必填 | 类型 | 说明 |
| --- | --- | --- | --- |
| `variant` | 否 | `TabsVariant` | `pill` (default) is the segmented control look. `line` is the admin look: a 1px bottom border on the list and a 2px primary underline on the active tab. |
| `className` | 否 | `string` |  |
| `children` | 否 | `React.ReactNode` |  |
| `disabled` | 否 | `boolean` |  |
