Skip to content
Look

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

SegmentedItem

Open .md
Live preview

Loading example…

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

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

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

export const Default: Story = {};

Source of the Storybook story.

Prop Type Default Description
value * string
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/segmented/segmented.tsx