Skip to content
Look

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

TabsTrigger

Open .md
Live preview

Loading example…

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

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

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

<TabsTrigger 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>
</>
</TabsTrigger>
Prop Type Default Description
value * string
count number Optional record count shown after the label.
intent string
intentKey string

* 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