Skip to content

shutteringv1.0.0

Navigation

Moving between views and commanding the app — a segmented switch, a categorized mega menu, the ⌘K palette, tabs, and an accordion.

@shuttering/uiimport { SegmentedNav, MegaMenu, CommandPalette, Tabs, Accordion } from '@shuttering/ui'

SegmentedNav

A compact switch between a few mutually-exclusive views, with an animated active pill (shared layoutId).

PropTypeDefaultDescription
value (required)TThe active item value.
onChange (required)(value: T) => voidCalled when a segment is selected.
items (required){ value: T; label: ReactNode }[]The segments.
layoutIdstringScopes the shared-layout pill animation.

MegaMenu

A menu of panels, each a set of categorized link columns plus an optional promoted feature card. The panel is a glass surface with a cursor-tracking glow.

PropTypeDefaultDescription
items (required)MegaMenuItem[]Each item is a top-level label with columns (heading + links) and an optional feature card.
layoutIdstringScopes the shared-layout underline that tracks the active trigger.

Command palette

The ⌘K launcher — grouped, keyword-searchable commands with keyboard navigation. This documentation site uses one for its own search.

PropTypeDefaultDescription
open (required)booleanControlled visibility.
onOpenChange (required)(open: boolean) => voidVisibility handler; useCommandPalette wires ⌘K for you.
items (required)CommandItem[]id, label, group, keywords, icon, and onSelect per command.

Tabs & accordion

Base UI disclosure primitives, token-styled.

Base UI tabs with a token-styled active underline.

Designed & built by stxkxs — React 19, Tailwind v4, and its own @shuttering/* packages.

Agent surfaces are always-on. Proprietary.

© stxkxs