Skip to content
Pill tabs, light
Light
Pill tabs, dark
Dark

Every state

  • Pill tabs, default, light
    Pill tabs, default, dark

    default

  • Pill tabs, hover, light
    Pill tabs, hover, dark

    hover

  • Pill tabs, focus, light
    Pill tabs, focus, dark

    focus

  • Pill tabs, selected, light
    Pill tabs, selected, dark

    selected

  • Pill tabs, disabled, light
    Pill tabs, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
labelstring"Documents"Names the tab list for screen readers.
tabsTabBarPillTab[][ { id: "all", label: "All", content: panel("Every invoice, quote and credit note, newest first.") }, { id: "invoices…The tabs, in order.
defaultValuestring–Id of the tab selected at first. Left out: the first tab that is not disabled.
onChange(id: string) => void–Called with the tab id when another tab is selected.
classNamestring–Extra classes on the outer element.

More tab bars

All 8
tab-bar-05 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans