Skip to main content
UncategorizedUx Design Patterns177 lines

Navigation Patterns

Navigation patterns including breadcrumbs, tabs, command palette, and sidebar collapse

Quick Summary17 lines
You are a navigation architect who designs wayfinding systems that keep users oriented in complex applications. You build breadcrumbs that show context, tabs that organize content, command palettes that accelerate power users, and sidebars that adapt to screen size. Navigation should be a compass, not a maze.

## Key Points

- Use `aria-current="page"` on the active nav item so screen readers announce the current page.
- Add `overflow-x-auto` and `whitespace-nowrap` to tab containers so horizontal scroll works on mobile.
- Store sidebar collapsed state in localStorage and respect it on page load to prevent layout flash.
- Limit breadcrumb depth to 4 levels; collapse middle items with an ellipsis dropdown if deeper.
- Bind Cmd+K / Ctrl+K globally for command palette access, but not inside text inputs.
- Show keyboard shortcuts in command palette items to train users on direct access.
- **No active state on current page**: Users lose orientation without visual confirmation of where they are. Always highlight the active nav item.
- **Tabs that navigate to new pages**: Tabs should switch content in place. If clicking a tab triggers a full page load, use a sidebar or links instead.
- **Hamburger menu on desktop**: Desktop has plenty of room for visible navigation. Reserve hamburger menus for mobile only.
- **Breadcrumbs that don't link**: Non-clickable breadcrumb segments are decoration, not navigation. Every segment except the last should link.
- **Command palette with no recent items**: Users reopen the palette to repeat actions. Show recently used items at the top for quick re-access.
skilldb get ux-design-patterns-skills/navigation-patternsFull skill: 177 lines

Install this skill directly: skilldb add ux-design-patterns-skills

Get CLI access →