Sakani

Tabs

A tab list for switching between views within the same context.

Filled

Props

PropTypeDefaultDescription
items{ value: string; label: string; icon?: LucideIcon; disabled?: boolean }[]The tabs to render.
valuestringControlled active tab value.
defaultValuestringUncontrolled initial active value.
onChange(value: string) => voidFires when the active tab changes.
borderedbooleantrueShows the bottom border under the whole track.
fillbooleanfalseStretches tabs to share the row's width equally.