Lab

Tabs

Slant / Components

A tab list with an indicator that slides under the selected tab.

The theme follows the link: share a page with ?theme=moon.

Usage

  • tablist, tab, and tabpanel roles with a roving tabindex.

Keyboard

← / →moves between tabs
Home / Endjumps to the first or last tab

Accessibility

  • The selected tab is the only tab stop; the panel is labelled by its tab.

Tabs in React and SwiftUI.

Source

The React tab is the component’s real source; the SwiftUI tab is its twin in TUTTNKit.