navigation-pattern-encyclopedia
Skill58 starsChanged 23 days agoApache-2.0View on GitHub
Every navigation pattern with specs, trade-offs, and production code: top bars, sidebars, bottom tabs, mega menus, breadcrumbs, command palettes, and contextual and mobile navigation. Use when choosing a nav model, fixing discoverability, or structuring information architecture.
In this repository44 other files it gives its agents.
- accessibility-inclusive-designSkill
- agentic-ai-generative-uxSkill
- ai-design-generationSkill
- ai-spatial-voice-uxSkill
- ambient-calm-zero-uiSkill
- animation-recipe-librarySkill
- business-design-templatesSkill
- cognitive-psychology-uxSkill
- color-palette-librarySkill
- component-patterns-codeSkill
- conversion-optimization-patternsSkill
- cross-cultural-i18n-uxSkill
- data-visualization-masterySkill
- design-critique-case-studiesSkill
- design-memorySkill
- design-process-methodsSkill
- design-systems-architectureSkill
- design-token-presetsSkill
- desktop-app-designSkill
- figma-design-tool-workflowsSkill
- form-design-encyclopediaSkill
- icon-illustration-systemsSkill
- image-media-patternsSkill
- interaction-motion-designSkill
- layout-block-intelligenceSkill
- micro-copy-intelligenceSkill
- mobile-ux-designSkill
- nng-ux-heuristicsSkill
- page-composition-engineSkill
- performance-states-patternsSkill
- platform-visual-standardsSkill
- reference-intelligenceSkill
- responsive-block-patternsSkill
- screen-flow-patternsSkill
- sector-style-intelligenceSkill
- shadow-elevation-densitySkill
- sumi-orchestratorSkill
- typography-pairing-recipesSkill
- ui-pattern-intelligenceSkill
- ui-visual-design-systemSkill
- ux-ethics-content-strategySkill
- ux-metrics-measurementSkill
- ux-research-methodsSkill
- visual-design-masterySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 58
When to use it, and the condition that rules it out
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Navigation Pattern Encyclopedia — Every Nav Pattern
Mental model
Navigation answers three questions, in this order: where am I, where can I go, and how do I get back. A pattern that answers only the second is a menu, not a navigation system.
- Visible beats hidden. Nielsen Norman's study (179 participants, six sites) found hidden navigation cuts content discoverability by nearly half and raises both time on task and perceived difficulty. Hide navigation only when the screen genuinely cannot hold it.
- Information scent is the whole game. A label must let someone predict what is behind it. "Solutions" has no scent; "Pricing" has perfect scent.
- Depth costs more than breadth. Two levels of fifteen items beat four levels of four. Every extra level is a place to get lost.
- The pattern follows the destination count. Three to five destinations means bottom tabs or a top bar. Twenty-plus means a mega menu or search-first. Fifty means a command palette, because no menu structure survives that.
Index
| If | Pattern | Reference |
| 5-7 destinations, marketing or app shell | Top horizontal bar | primary-navigation-patterns.md |
| 20+ destinations, e-commerce or enterprise | Mega menu | primary-navigation-patterns.md |
| Brand-led marketing site | Centered logo nav | primary-navigation-patterns.md |
| Search is the primary action | Nav with integrated search | primary-navigation-patterns.md |
| Deep app, many sections | Sidebar | primary-navigation-patterns.md |
| Power users, 50+ destinations | Command palette | primary-navigation-patterns.md |
| Mobile, 3-5 destinations | Bottom tab bar | mobile-navigation-patterns.md |
| Mobile, more than 5 | Drawer or hamburger | mobile-navigation-patterns.md |
| Showing position in a hierarchy | Breadcrumbs | secondary-navigation-patterns.md |
| Switching views of one object | Tabs, segmented control | secondary-navigation-patterns.md |
| Long result sets | Pagination | secondary-navigation-patterns.md |
| Linear multi-step process | Stepper | secondary-navigation-patterns.md |
| Any of the above, made accessible | — | navigation-accessibility.md |
| Deciding the structure underneath | — | information-architecture.md |
Reference architecture
| File | Covers | Lines |
references/primary-navigation-patterns.md | 27 primary patterns with TSX | 1822 |
references/secondary-navigation-patterns.md | 22 secondary patterns | 1339 |
references/mobile-navigation-patterns.md | mobile-specific patterns | 1146 |
references/navigation-accessibility.md | ARIA, keyboard, focus | 1046 |
references/information-architecture.md | IA methods, taxonomy, URLs | 861 |
What every reference file contains
- Anatomy — the structural parts and what each is called
- When to use it, and the condition that rules it out
- Complete React/TSX plus CSS, runnable, no placeholders
- The responsive transformation at each breakpoint
- ARIA roles, keyboard map, and focus order
- Anti-patterns specific to that pattern
Routing
For primary navigation — 27 patterns with specs and TSX, including top bar,
mega menu, centered logo, integrated search, sidebar and command palette: read
references/primary-navigation-patterns.md.
For secondary navigation — breadcrumbs (simple, dropdown, truncated), tabs,
segmented controls, pagination and steppers: read
references/secondary-navigation-patterns.md.
For mobile — bottom tab bar (iOS), bottom navigation (Material 3), hamburger
and drawer variants, and the gesture patterns around them: read
references/mobile-navigation-patterns.md.
For making it accessible — ARIA landmarks, skip navigation, current-page
indication, expanded/collapsed state, and focus management: read
references/navigation-accessibility.md.
For structuring the content underneath — IA research methods, IA structures,
labeling and taxonomy, sitemap design and URL structure: read
references/information-architecture.md.
For odds and ends — the patterns that had no home in the files above when this skill was converted to a router: read references/navigation-supplementary.md.
Cross-References
- mobile-ux-design — iOS and Android navigation deep dives
- desktop-app-design — Desktop navigation conventions
- layout-block-intelligence — Header/nav block patterns and layout integration
- accessibility-inclusive-design — Full WCAG navigation requirements
- screen-flow-patterns — User flow patterns that connect to navigation
- component-patterns-code — Production code for nav components
- interaction-motion-design — Navigation transition animations
- responsive-block-patterns — Responsive transformation specs
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

