Skip to content
Look

Shared with the landing page. Theme is the select beside this menu.

TabsList

Open .md
Live preview

Loading example…

TabsList is part of the Navigation set, imported from @jcsoftdev/ui/navigation.

import { TabsList } from "@jcsoftdev/ui/navigation";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/navigation/tabs.

<TabsList aria-label="Student sections" value="grades">
<>
<TabsNavLink value="summary" href="#summary">
Summary
</TabsNavLink>
<TabsNavLink value="grades" href="#grades" count={8}>
Grades
</TabsNavLink>
<TabsNavLink value="attendance" href="#attendance">
Attendance
</TabsNavLink>
</>
</TabsList>
Prop Type Default Description
loop boolean true Wraps arrow navigation around the ends. Defaults to true.

* marks a required prop.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/navigation/tabs/tabs.tsx