phazurlabs/chef-sumi/navigation-pattern-encyclopedia

Claude Code and agent skill by phazurlabs/chef-sumi

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Every navigation pattern with exact specs, pros/cons, use cases, and production code. Covers top nav, sidebar, bottom tabs, mega menus, breadcrumbs, command palettes, contextual navigation, and mobile navigation patterns. Complete information architecture guide. Use when the user mentions: navigation, nav bar, sidebar, menu, hamburger menu, bottom tabs, tab bar, breadcrumb, mega menu, command palette, search navigation, mobile nav, navigation pattern, site map, IA, information architecture, wayfinding, nav design.

Install

npx vskill@latest install phazurlabs/chef-sumi/navigation-pattern-encyclopedia

SKILL.md

The same SKILL.md was published earlier as phazurlabs/chef-sumi/navigation-pattern-encyclopedia.

Navigation Pattern Encyclopedia — Every Nav Pattern


Part 1: Navigation Philosophy

The Three Questions Every Navigation Must Answer
  1. Where am I? — current location clearly indicated (active state, breadcrumb, page title)
  2. Where can I go? — available destinations visible or discoverable
  3. How do I get there? — interaction path obvious (click, tap, keyboard shortcut)
Wayfinding Principles

Wayfinding in digital products mirrors physical navigation. Users build mental models of information spaces the same way they learn building layouts.

  • Landmarks — persistent visual anchors (logo, primary nav bar, footer) that orient users
  • Paths — clear routes between destinations (links, buttons, breadcrumbs)
  • Regions — visually distinct zones that group related content (sidebar, main content, utility bar)
  • Edges — boundaries between sections (dividers, background shifts, elevation changes)
  • Signs — labels and icons that communicate destination or action
Information Scent (Pirolli & Card, 1999)

Users follow "information scent" — the perceived likelihood that a navigation path leads to desired content. Strong scent = clear labels, recognizable icons, descriptive link text. Weak scent = vague labels ("Resources"), icon-only navigation without tooltips, buried content.

Scent Strength Checklist:

  • Label uses the user's vocabulary (not internal jargon)
  • Icon is universally recognizable or paired with text
  • Hover/focus state previews destination content
  • Active state confirms the user's current location
  • Breadcrumb trail shows path taken
Progressive Disclosure in Navigation

Reveal complexity gradually. Show primary navigation always; reveal secondary navigation on interaction; surface contextual navigation in-context.

Hierarchy of Disclosure:

  1. Always visible: 3-7 primary destinations
  2. Revealed on hover/click: sub-sections, mega menu panels
  3. On-demand: command palette, search, contextual menus
  4. Deep: settings, admin tools, rarely used features
Fitts's Law Applied to Navigation
  • Larger targets = faster to reach. Minimum touch target: 44x44pt (iOS), 48x48dp (Android)
  • Edge/corner targets are effectively infinite size (pin nav to screen edges)
  • Distance matters: place frequent actions close to resting cursor/thumb position
  • Bottom navigation on mobile exploits the thumb zone (easy reach)
Hick's Law Applied to Navigation
  • More choices = longer decision time. Keep primary nav to 5-7 items
  • Group items into categories to reduce cognitive load
  • Use progressive disclosure to stage choices

Part 2: Navigation Levels

Level 1 — Global Navigation

Persistent across all pages/screens. Contains top-level destinations.

  • Location: top bar, sidebar, or bottom tab bar
  • Item count: 5-8 maximum
  • Must include: logo/home link, primary destinations, utility actions (search, account)
Level 2 — Local Navigation

Within a section or feature area. Shows sub-sections of the current context.

  • Location: sub-nav bar, sidebar sub-menu, horizontal tabs
  • Item count: 3-8 items
  • Relationship: child of currently active global nav item
Level 3 — Contextual Navigation

Embedded within content. Provides related links, in-page anchors, and inline actions.

  • Location: within the content area — breadcrumbs, inline links, related items, TOC
  • Item count: varies by content
  • Purpose: cross-linking, deeper exploration, supplementary paths
Level 4 — Utility Navigation

Account management, settings, help, notifications. Always secondary to content navigation.

  • Location: top-right corner (web), profile menu, settings gear
  • Item count: 3-6 items
  • Convention: universally placed top-right on web; profile tab or settings in mobile

Part 3: Primary Navigation Patterns

TOP-01: Horizontal Top Navigation Bar

When to Use: Marketing sites, content sites, e-commerce, SaaS landing pages. Best when there are 3-7 top-level destinations.

When to Avoid: Complex apps with 10+ sections, deeply nested IA, mobile-first apps.

Anatomy (ASCII):

+------------------------------------------------------------------+
| [Logo] Home Products Pricing Docs Blog | [Search] [Avatar] |
+------------------------------------------------------------------+

Sizing Specs:

  • Height: 56-64px (web), 44px (iOS compact), 56px (Android)
  • Logo area: 120-200px width
  • Nav item padding: 12-16px horizontal, full height clickable area
  • Font size: 14-16px, medium weight (500-600)
  • Active indicator: 2-3px bottom border or background highlight
  • Z-index: 1000+ (always above content)

States:

  • Default: text color at 70-80% opacity
  • Hover: text color at 100%, subtle background (4-8% opacity)
  • Active/Current: full opacity, bottom border accent, aria-current="page"
  • Focus: visible focus ring (2px outline, 2px offset)

Responsive Behavior:

  • Desktop (1024px+): full horizontal layout
  • Tablet (768-1023px): collapse least-important items into overflow "More" menu
  • Mobile (<768px): collapse to hamburger menu or switch to bottom tab bar

Accessibility:

  • Wrap in <nav aria-label="Main navigation">
  • Use <ul>/<li> semantic list structure
  • aria-current="page" on active item
  • All items keyboard-reachable via Tab
  • Skip navigation link before nav

React + CSS Implementation:

tsx
function TopNav({ items, currentPath }) {
return (
<nav aria-label="Main navigation" className="top-nav">
<a href="/" className="top-nav__logo" aria-label="Home">
<Logo />
</a>
<ul className="top-nav__list" role="list">
{items.map(item => (
<li key={item.href}>
<a
href={item.href}
className="top-nav__link"
aria-current={item.href === currentPath ? 'page' : undefined}
>
{item.label}
</a>
</li>
))}
</ul>
<div className="top-nav__utility">
<SearchButton />
<UserMenu />
</div>
</nav>
);
}
css
.top-nav {
display: flex;
align-items: center;
height: 64px;
padding: 0 24px;
background: var(--surface-primary);
border-bottom: 1px solid var(--border-subtle);
position: sticky;
top: 0;
z-index: 1000;
}
.top-nav__list {
display: flex;
gap: 4px;
list-style: none;
margin: 0;
padding: 0;
}
.top-nav__link {
display: flex;
align-items: center;
padding: 8px 16px;
height: 40px;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
color: var(--text-secondary);
text-decoration: none;
transition: background 150ms, color 150ms;
}
.top-nav__link:hover {
background: var(--surface-hover);
color: var(--text-primary);
}
.top-nav__link[aria-current='page'] {
color: var(--text-primary);
background: var(--surface-active);
font-weight: 600;
}

TOP-02: Mega Menu

When to Use: E-commerce with many categories, enterprise sites with deep IA, sites with 20+ destinations to expose.

When to Avoid: Simple sites, mobile (use hierarchical drill-down instead), apps with flat IA.

Anatomy (ASCII):

+------------------------------------------------------------------+
| [Logo] Shop v Solutions v Resources v Pricing |
+==================================================================+
| Category 1 | Category 2 | Category 3 | [Promo] |
| - Sub-item | - Sub-item | - Sub-item | [Image] |
| - Sub-item | - Sub-item | - Sub-item | [CTA] |
| - Sub-item | - Sub-item | - Sub-item | |
| - View All -> | - View All -> | - View All | |
+------------------------------------------------------------------+

Sizing Specs:

  • Full viewport width or constrained to max-width (1200-1440px)
  • Column width: 200-280px each
  • 3-5 columns of links + 1 optional promo/featured column
  • Padding: 32-48px vertical, 24-32px horizontal
  • Category heading: 13-14px, uppercase, bold, muted color
  • Sub-item links: 14-15px, regular weight
  • Vertical gap between items: 8-12px

Interaction:

  • Opens on hover (desktop) with 200-300ms delay to prevent accidental triggers
  • Opens on click/tap (mobile/tablet)
  • Closes on mouse leave (with 300ms grace period) or Escape key
  • Diagonal movement tolerance: use "aim triangle" pattern (Amazon-style) to prevent premature close when moving cursor diagonally to submenu

Accessibility:

  • aria-expanded="true/false" on trigger button
  • aria-haspopup="true" on trigger
  • Panel has role="region" or role="menu" with aria-labelledby pointing to trigger
  • Escape closes and returns focus to trigger
  • Arrow keys navigate between items within the panel

SIDE-01: Sidebar Navigation (Always Visible)

When to Use: SaaS dashboards, admin panels, tools with 8-20+ sections, apps where users frequently switch between sections.

When to Avoid: Content-heavy sites (sidebar steals reading width), marketing sites, mobile-primary apps.

Anatomy (ASCII):

+--------+--------------------------------------------+
| [Logo] | |
|--------| Main Content Area |
| * Home | |
| Inbox| |
| Tasks|--------------------------------------------+
| Proj | |
|--------| |
| TEAM | |
| Memb | |
| Sett | |
|--------| |
| [Ava] | |
| [Coll] | |
+--------+--------------------------------------------+

Sizing Specs:

  • Expanded width: 240-280px (standard), up to 320px (complex apps)
  • Collapsed/rail width: 56-72px (icons only)
  • Mini rail: 48px (icon only, no labels)
  • Nav item height: 36-44px
  • Icon size: 20-24px
  • Text: 14px, medium weight
  • Section heading: 11-12px, uppercase, muted, extra-bold
  • Vertical padding between items: 2-4px
  • Section gap: 16-24px
  • Background: slightly darker or lighter than content area (3-5% contrast shift)

Collapsed Sidebar (Rail):

+----+--------------------------------------------+
| Ic | |
|----| Main Content Area |
| Ic | |
| Ic | |
| Ic | |
| Ic | |
|----| |
| Ic | |
| Ic | |
|----| |
| Av | |
| << | |
+----+--------------------------------------------+
  • Tooltip on hover showing label (200ms delay)
  • Toggle button at bottom or top to expand/collapse
  • Persist collapsed state in localStorage
  • Transition: width 200ms ease-out

Nested Sidebar (Multi-Level):

  • Indent sub-items 16-24px from parent
  • Expand/collapse icon (chevron) on parent items
  • aria-expanded="true/false" on expandable items
  • Maximum nesting depth: 3 levels (deeper = use breadcrumbs or separate view)

Accessibility:

  • <nav aria-label="Sidebar navigation">
  • aria-current="page" on active item
  • Arrow Up/Down to move between items
  • Enter/Space to activate
  • Arrow Right to expand, Arrow Left to collapse sub-menus
  • Home/End to jump to first/last item

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/phazurlabs/chef-sumi/navigation-pattern-encyclopedia/badge)](https://verified-skill.com/skills/phazurlabs/chef-sumi/navigation-pattern-encyclopedia)

Something wrong with this skill or its page? Tell us.