Skip to content
LyEve UI v0.60.1

Navigation

Tabs

Inline page-level tabs with an underline accent and optional badges for counts. Controlled: pass the active id and an onchange handler.

Basic

Active tab: all

With counts

The active tab's count takes the same light brand tint as every other brand chip and reads at 4.5:1 or better in both themes.

API

PropTypeDefaultDescription
items requiredArray<{ id, label, count? }> no defaultTab definitions. id is the value passed to onchange. Count is rendered as a soft badge.
active requiredstring no defaultThe currently selected tab id.
onchange required(id: string) => void no defaultFires when the user selects a tab.
inHeader booleanfalseFor a strip in a SplitPane's header row: it draws no rule of its own and its tabs take the row's height.
class string no defaultExtra classes on the wrapper.