Elements Tabs
Back to Elements

Tabs

0 components

UI elements you can copy into your project.

API reference

Generated from each primitive's $props() declaration.

Tabs.Root

Tabbed content navigation.

Prop Type Default Description
ref bind: HTMLElement | null null
value bind: string ""
class as className string
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.

Tabs.Content

Tabbed content navigation.

Prop Type Default Description
ref bind: HTMLElement | null null
class as className string
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.

Tabs.List

Tabbed content navigation.

Prop Type Default Description
ref bind: HTMLElement | null null
class as className string
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.

Tabs.Trigger

Tabbed content navigation with dark mode support.

Prop Type Default Description
ref bind: HTMLElement | null null
class as className string
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.