View as Markdown

Salmon UI Navigation documentation

Every page below embeds live demos; each demo also has a standalone route.

Accordion

  • Accordion

    Accordion and AccordionItem stack collapsible sections with the APG accordion keyboard model, single or multiple expansion, cancellable changes, lazy panels that find-in-page can open, and nesting.

    2 demos

Breadcrumbs

  • Breadcrumbs

    Breadcrumbs and BreadcrumbItem render an APG breadcrumb trail with router links, a current page, CSS separators, and menu, expand, wrap, scroll or clipped overflow that renders identically on the server.

    2 demos

Stepper

  • Stepper

    Stepper and Step show progress through a sequence as an ordered list, with keyboard-selectable steps, linear mode, read-only mode, orientation, label placement, statuses and custom step rendering.

    3 demos

Toolbar

  • Toolbar

    Toolbar groups buttons, menu buttons and inputs into one APG toolbar with a single tab stop, arrow-key navigation, start / center / end alignment, and overflow into a menu, a scrolling strip or extra rows.

    3 demos

  • App Bar

    An application header bar built from a header element with the .salmon-app-bar class around a Toolbar, with bottom position, sticky, primary tone and theme surface variants.

    1 demo

Tree View

  • Tree View

    TreeView renders hierarchical data as a virtualized WAI-ARIA tree with nested or flat data, single or multiple selection, reactive expanded and selected ids, the full APG keyboard model, RTL, a ref API and server rendering of the first window.

    4 demos

  • Tree View items and templates

    Icons, links with router support, tooltips and attributes per item, and renderItem templates that receive the item state, all pure and called only for rendered rows.

    1 demo

  • Tree View checkboxes

    Tri-state checkboxes with cascade or independent propagation, disabled-item rules, check on click, reactive checked ids, cancellable events, check-all commands and form submission with reset.

    1 demo

  • Tree View lazy loading

    Load children on first expand with loadChildren and an abort signal, show loading and error states with retry, and connect any remote source with one async function.

    1 demo

  • Tree View editing and drag and drop

    Inline rename with F2, pointer and keyboard moves before, after or into an item, moves between trees of one drag group, and the moveTreeItems helper for application-owned data.

    1 demo

Menus

  • Context Menu

    ContextMenu opens a Menu family popup at the pointer on right-click, touch long-press, Shift+F10 or the ContextMenu key, with per-target entries, cancellable open and close, collision-aware placement, RTL and focus return.

    3 demos

  • Menubar

    Menubar, MenubarMenu and MenubarItem build an APG menubar over the Menu family, with one tab stop, mirrored arrow keys, menus that follow the keyboard and the pointer, a cancellable open-menu value and a scrolling overflow mode.

    1 demo

Tabs

  • Tabs

    Tabs, TabList, Tab and TabPanel implement the APG Tabs pattern with controlled selection, a cancellable before-event, four placements, lazy panels, scroll or menu overflow, closable tabs and lazy drag reordering.

    3 demos

Sidebar

  • Sidebar Layout

    SidebarLayout places a SidebarPanel beside SidebarMain - push mode with a CSS grid track, an icon rail, start or end side, a cancellable open state, and a container or media breakpoint that switches to the overlay presentation without hydration differences.

    2 demos

  • Sidebar Menu

    SidebarMenu is the vertical navigation menu of a sidebar - grouped links, nested submenus, the selected route with aria-current, router links through renderLink, and an icon rail with tooltips and flyout submenus - in a nav landmark that works in any vertical navigation container.

    4 demos

Pager

  • Pager

    The standalone Pager from @salmonui/navigation/pager - the Data Grid pager's page sets, keys, page sizes and narrow layout for any paged list, controlled by page and pageSize.

    2 demos

Ribbon

  • Ribbon

    An Office-style ribbon built from Tabs whose panels each hold a Toolbar of labelled groups, with multi-size commands that step down before they overflow, group launchers, a File menu, contextual tabs, the simplified layout and a collapsed ribbon.

    1 demo

File Manager

  • File Manager

    A file browser is a composition of TreeView, Breadcrumbs, Toolbar, DataGrid, ContextMenu, FileUpload, Dialog and Splitter over your own file API.

    1 demo

Guides

  • Common behavior

    Rules every Navigation component shares - right-to-left layouts, localeText, className and style passthrough, icons, children and render props, accessibility, server rendering, and the options left out by design.

    1 demo