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.
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.
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.
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.
- 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.
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.
- 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.
- 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.
- 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.
- 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.
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.
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.
- 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.
Carousel
- Carousel
Carousel and CarouselSlide from @salmonui/navigation/carousel - a native scroll-snap slide show with auto-play, fade, peek, indicators, loop, RTL and the APG Carousel pattern.
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.
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.
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.
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.