Skip to content
Look

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

TabsContent

Open .md
Live preview

Loading example…

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

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

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

<TabsContent 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>
</>
</TabsContent>
Prop Type Default Description
value * string
forceMount boolean Keeps the panel mounted (hidden) while inactive.
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