Tabs
Loading example…
To sync the active tab with a search param, use Radix’s controlled pattern:
value={param} + onValueChange={(v) => updateParam(v)}.
Import
Section titled “Import”import { Tabs } from "@jcsoftdev/ui/navigation";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/navigation/tabs.
export const Default: Story = {};Source of the Storybook story.
This component declares no props of its own.
It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/navigation/tabs/tabs.tsx