GitHub

Tabs

Content-switching tab panels. Supports CSS-only switching with radio inputs and scrollable overflow with navigation arrows.

Basic (with links)

Preview

CSS-Only with Radio Inputs

Preview
Overview content goes here.
Features content goes here.
Pricing content goes here.

Box Style

Preview
Content for Tab 1
Content for Tab 2
Content for Tab 3

Lift Style

Preview
Content for Tab 1
Content for Tab 2
Content for Tab 3

Scrollable Tabs

Scrollable with Arrows

Scrollable Box Style

Sizes

Size Variants

Variants

Glass

Preview

Disabled Tab

Inside a Page

Header + Tabs + Content

Preview
My App

Tab content area. The header stays fixed at top, tabs below it, and this content scrolls.

Reference

Class Description
.tabsContainer for tabs
.tabIndividual tab (a, button, or input[type=radio])
.tab-contentContent panel (visible when radio sibling is checked)
.tab-content-activeManually show a tab content panel
.tab-activeActive tab state
.tab-disabledDisabled tab
.tab-iconIcon inside a tab
.tabs-borderBottom border style
.tabs-boxContained box style
.tabs-liftLifted card-like style
.tabs-scrollHorizontal scroll with hidden scrollbar
.tabs-arrowArrow button for scrollable tabs
.tabs-arrow-left / .tabs-arrow-rightLeft/right arrow with fade gradient
.tabs.glassGlassmorphism variant
.tabs-xs / .tabs-sm / .tabs-lgSize variants