Tabs

Renders a tabs component

Attribute Type Documentation Default Value
Required id * :string
size :string "sm"
rest :global
tab :slot
Show slot attributes Hide slot attributes
Required patch * :string
Required active * :boolean
<:tab :for={tab <- 1..20} patch="/navigation/tabs" active={tab == 14}>
  Navigation Tab {tab}
</:tab>