Navigation demos

Every demo has a standalone page with its preview, source and notes.

40 demos

Accordion

  • Accordion

    A controlled multiple / single Accordion with a disabled item, a change vetoed in onBeforeValueChange and a panel that find-in-page can reveal.

  • Nested accordion

    A single-mode Accordion with icons, level-4 headings and a nested Accordion whose arrow keys stay inside it.

Breadcrumbs

  • Breadcrumbs

    Links, a router link through render, a disabled item, an icon, a custom separator, a navigable current item and onItemClick cancelling navigation.

  • Breadcrumbs overflow

    Every overflow mode on a resizable trail, with and without maxItems.

Stepper

  • Stepper

    A controlled linear Stepper driven by Back / Next buttons, with a description, an optional step and an invalid step.

  • Stepper layouts and templates

    Orientation and logical label placement, an explicit step status, a disabled step, and a read-only Stepper whose steps come from renderStep.

  • Stepper events and templates

    A sign-up Stepper whose onBeforeValueChange refuses to leave the first step without a workspace name, an onValueChange log, step content from renderStep and one step that overrides it with its own children.

Toolbar

  • Toolbar

    A formatting toolbar with toggle buttons, a separator, a number input, a spacer and an end-aligned group with a button and a menu button.

  • Toolbar overflow

    One toolbar switching between overflow into a menu, a scrolling strip and extra rows, with a priority item and an item that always lives in the menu.

  • Toolbar states

    A paragraph toolbar with icon-only buttons that read as text in the overflow menu, a disabled item, a conditionally rendered item, a native onKeyDown that can block roving keys, the whole-toolbar disabled flag and vertical orientation.

  • App Bar

    A header with the salmon-app-bar class around a Toolbar inside a scrolling frame, switching between the default and primary tone, a theme app bar surface, top and bottom position, and sticky or static.

Tree View

  • Tree View basics

    A file tree with reactive expanded and selected ids, multiple selection with Ctrl/Cmd and Shift, a disabled folder and the APG keyboard model.

  • Tree View with 100,000 items

    A virtualized tree of 100,010 nodes with checkboxes and multiple selection; expandAll, collapseAll and focusItem through the ref API.

  • Tree View flat data

    A team tree built from flat self-referential rows with getParentId, its expanded, selected and checked ids derived from per-row state fields, and siblings sorted with the English or Swedish collator.

  • Tree View interaction

    A handbook tree with long wrapping labels, a switch for what expands a parent, full-row or label-only highlight, an onItemClick log and a native onKeyDown that can skip the built-in keys.

  • Tree View items and templates

    SVG icons per item, link items that follow on a click anywhere on the row, tooltips through getItemProps and a renderItem template with unread badges.

  • Tree View checkboxes

    Tri-state permissions with cascade or independent checks, a disabled item the cascade skips, check on click, form submission with reset, and the checkAll, uncheckAll and getCheckedIds methods.

  • Tree View lazy loading

    Children load on first expand through loadChildren with an abort signal; one share fails first and shows the error state with Retry.

  • Tree View drag and drop

    Two task trees in one drag group with pointer moves before, after or into an item, Alt+arrow keyboard moves and F2 rename, applied to application data with moveTreeItems.

Menus

  • Context Menu

    A ContextMenu on a canvas whose entries change with the right-clicked shape, with a submenu, a disabled item and a vetoed target that keeps the browser menu.

  • Context menu events

    A document context menu with rich MenuItem children, entries the application renders per state, onOpenChange and a cancellable onBeforeClose in a log, hover or click submenus with a hover delay, and a 60-entry submenu that scrolls.

  • Controlled context menu

    A context menu whose open state lives in the application, opened from code at an anchorPoint or by right-click at the pointer, with collision-aware placement and a right-to-left switch that mirrors the menu and its submenu.

  • Menubar

    An editor Menubar with File, Edit and View menus, an icon label, shortcut hints in entries, a submenu with an adjustable hover delay, a checkable item, a top-level command and a scrolling bar in a narrow container.

Tabs

  • Tabs

    Controlled Tabs with an icon tab, a disabled tab, a tab that onBeforeValueChange refuses, and a placement switch (top, bottom, start, end).

  • Closable, reorderable tabs with overflow

    An editor-style tab strip with close buttons, Delete to close, drag or Alt+Arrow to reorder, and overflow into a More tabs menu or a scrolling strip.

  • Tabs options

    Twelve month tabs with icon placement, panelMount (lazy, active, eager), scrollStep for the overflow scroll buttons, the whole-component disabled flag and a live readout of the tablist, tab and tabpanel ARIA wiring.

Sidebar

  • Sidebar layout basics

    A push-mode SidebarLayout with a navigation panel, an icon rail toggle, a cancellable close and a container breakpoint that switches to the overlay presentation.

  • Sidebar layout modes

    A task list SidebarLayout bounded to its own box, switching between push and overlay mode, start and end side, left-to-right and right-to-left, with closeOnOutsidePress and focus return to the trigger.

  • Sidebar menu with router links

    A grouped admin SidebarMenu whose links render through renderLink as client-side router links; the selected item follows the current path and carries aria-current.

  • Sidebar menu icon rail

    A SidebarMenu inside a SidebarLayout that collapses to a 64px icon rail; links show label tooltips and submenus open as flyouts on hover, click or the keyboard.

  • Sidebar menu on a dark surface

    An admin sidebar with three groups, two nested submenus and every submenu open, colored by the sidebar surface variables for a dark sider.

  • Nested sidebar menu

    Three levels of controlled submenus with expand-all and collapse-all buttons, badges, a disabled link, an action item and an event log.

  • Carousel

    A controlled Carousel with labelled slides, peeking neighbours, previous and next buttons, dot indicators and native swiping.

  • Carousel auto-play

    A fading Carousel that rotates automatically, with a play/pause button, a per-slide interval, a progress indicator, hover-only arrows and CarouselApi calls.

  • Carousel templates

    An onboarding carousel with text Back and Next buttons from renderPreviousButton and renderNextButton, numbered indicators from renderIndicator, and a loop switch.

Pager

  • Pager basics

    A controlled Pager with page sizes and a cancelled page, an uncontrolled Pager with five numeric buttons and a page label, and a Pager over an unknown total.

  • Router-driven Pager

    The page lives in the URL query string; the Pager is controlled by it, page changes push history entries, and Back restores the previous page.

Ribbon

  • Ribbon

    Tabs whose panels each hold a Toolbar of labelled groups with multi-size commands, a group launcher, a File menu, a contextual tab, the simplified layout and a collapsed ribbon in a Popover.

File Manager

  • File browser

    A file browser composed from TreeView, Breadcrumbs, Toolbar, DataGrid, ContextMenu, FileUpload, Dialog and Splitter over an application file API.

Guides

  • Navigation common behavior

    Breadcrumbs, Tabs and a Pager sharing the category rules - a right-to-left switch, English or German localeText, className, style and data attributes on the root, a ReactNode icon, render props, keyboard support and server rendering.