ReUI
Components

Tabs

A set of layered sections of content—known as tab panels—that are displayed one at a time.

Installation

pnpm dlx shadcn@latest add https://reui.io/r/tabs.json

Examples

Default

Loading

Icon

Loading

Badge

Loading

Button

Loading

Pill

Loading

Line

Loading

Vertical

Loading

Size - Large

Loading

Size - Medium

Loading

Size - Small

Loading

Size - Xsmall

Loading

Disabled

Loading

API Reference

This component is built using Radix UI Tabs primitives. For detailed information, please visit the full API reference.

Tabs

This component is based on the Tabs.Root primitive. For full details, visit the official documentation.

TabsList

This component is based on the Tabs.List primitive and includes the following custom props:

PropTypeDefault
variant enum "default"
size enum "md"
className stringundefined

TabsTrigger

This component is based on the Tabs.Trigger primitive and inherits the following props from context:

PropTypeDefault
variant enum "default"
size enum "md"
className stringundefined

TabsContent

This component is based on the Tabs.Content primitive and includes the following custom props:

PropTypeDefault
variant enum "default"
className stringundefined