Tabs

Navigation

Takes a block

Tab strip switching between its pages.

Tabs { … }

Example

Tabs { Tabs.Page("Profile") { Text("Your details") } Tabs.Page("Billing") { Text("Your plan") } }

Renders with the class wf-tabs, stable across releases, so a stylesheet may target it.

This element takes no props of its own.

Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.