Tabs Component Playground

Interactive playground to test all Tabs props and variants

Props

Tabs style variant

Tab size variant

Full-width border line below tabs (Figma default: true)

Stretch tabs to fill container (Auto vs Full)

Currently selected tab

Finops view

tab1

Engineering view

tab2

Current State

Active Tab: tab1

Total Tabs: 2

Preview

<Tabs
  items={[
    { value: "tab1", label: "Finops view" },
    { value: "tab2", label: "Engineering view" }
  ]}
  value="tab1"
  onValueChange={(value) => { /* handle change */ }}
/>
{
  "items": [
    {
      "value": "tab1",
      "label": "Finops view"
    },
    {
      "value": "tab2",
      "label": "Engineering view"
    }
  ],
  "value": "tab1",
  "onValueChange": "(function)",
  "variant": "bordered",
  "size": "small",
  "showBorder": true,
  "fullWidth": false
}

Bordered Small (Default)

Bordered Large

Bordered with Border Line (Small) - Figma default

Bordered Full Width (Large)

Filled Small

Filled Large

Filled Full Width (Small)

With Disabled Tab (Bordered Small)