Tabs
A full WAI-ARIA tabs pattern: roving tabindex, arrow-key navigation and
aria-selected, wired up by a scoped script. Panels are slotted children
tagged data-tab matching a tab’s id.
Overview content.
Usage content.
Options
Section titled “Options”orientation:horizontal(default),verticalvariant:line(default),contained
<Tabs tabs={[ { id: "overview", label: "Overview" }, { id: "usage", label: "Usage" },]}> <div data-tab="overview">Overview content.</div> <div data-tab="usage">Usage content.</div></Tabs>