Tabs

Audit log
Overview metrics and account health.
Attribute Type Documentation Default Value
id :string
Required active * :string

the id of the currently active tab

aria_label :string "Tabs"
orientation :string "horizontal"
activation :string "manual"
appearance :string

daisyUI tabs-border, tabs-lift or tabs-box; nil is border

size :string

daisyUI tabs-* size; nil is md

target :any

optional phx-target for click-based tabs

class :any
rest :global
Required tab * :slot
Show slot attributes Hide slot attributes
Required id * :string
Required label * :string
patch :string
navigate :string
click :string
click_value :string
icon :string
panel_id :string
disabled :boolean
panel :slot
Show slot attributes Hide slot attributes
Required tab * :string
id :string
class :any
<:panel tab="overview" id="account-overview-panel">Overview metrics and account health.</:panel>
<:panel tab="details">Profile, contact, and ownership details.</:panel>
<:panel tab="settings">Notification and access settings.</:panel>