Skip to content
Underline with counts, light
Light
Underline with counts, dark
Dark

Every state

  • Underline with counts, default, light
    Underline with counts, default, dark

    default

  • Underline with counts, hover, light
    Underline with counts, hover, dark

    hover

  • Underline with counts, focus, light
    Underline with counts, focus, dark

    focus

  • Underline with counts, selected, light
    Underline with counts, selected, dark

    selected

  • Underline with counts, large-counts, light
    Underline with counts, large-counts, dark

    large-counts

  • Underline with counts, disabled, light
    Underline with counts, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
labelstring"Invoices"Names the tab list for screen readers.
tabsTabBarUnderlineCountsTab[][ { id: "open", label: "Open", count: 12, content: panel("12 invoices are waiting for payment, worth € 8,420 in total…The tabs, in order.
defaultValuestring–Id of the tab selected at first. Left out: the first tab that is not disabled.
maxnumber99Counts above this read as "max+".
countLabelstring | null"invoices"Read after each count by screen readers ("12 invoices"). Null: the number alone.
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

Preview

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

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