Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Plans and maps website page hierarchy, URL structure, navigation, and internal linking for SEO and usability.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/navigation-patterns.md
1# Navigation Patterns23Detailed navigation patterns for different site types and contexts.45---67## Header Navigation89### Simple Header (4-6 items)1011Best for: small businesses, simple SaaS, portfolios.1213```14[Logo] Features Pricing Blog About [CTA Button]15```1617Rules:18- Logo always links to homepage19- CTA button is rightmost, visually distinct (filled button, contrasting color)20- Items ordered by priority (most visited first)21- Active page gets visual indicator (underline, bold, color)2223### Mega Menu Header2425Best for: SaaS with many features, e-commerce with categories, large content sites.2627```28[Logo] Product ▾ Solutions ▾ Resources ▾ Pricing Docs [CTA]29```3031When "Product" is hovered/clicked:3233```34┌─────────────────────────────────────────────────┐35│ Features Platform Integrations │36│ ───────── ───────── ──────────── │37│ Analytics Security Slack │38│ Automation API HubSpot │39│ Reporting Compliance Salesforce │40│ Dashboards Zapier │41│ │42│ [See all features →] │43└─────────────────────────────────────────────────┘44```4546Mega menu rules:47- 2-4 columns max48- Group items logically (by feature area, use case, or audience)49- Include a "See all" link at the bottom50- Don't nest dropdowns inside mega menus51- Show descriptions for items when labels alone aren't clear5253### Split Navigation5455Best for: apps with both marketing and product nav.5657```58[Logo] Features Pricing Blog [Login] [Sign Up]59├── Marketing nav (left) ──────┘ └── Auth nav (right) ──┤60```6162Right side handles authentication actions. Left side handles page navigation.6364---6566## Footer Navigation6768### Column-Based Footer (Standard)6970Best for: most sites. Organize links into 3-5 themed columns.7172```73┌──────────────────────────────────────────────────────────┐74│ │75│ Product Resources Company Legal │76│ ───────── ────────── ───────── ───── │77│ Features Blog About Privacy │78│ Pricing Guides Careers Terms │79│ Integrations Templates Contact GDPR │80│ Changelog Case Studies Press │81│ Security Webinars Partners │82│ │83│ [Logo] © 2026 Company Name │84│ Social: [Twitter] [LinkedIn] [GitHub] │85│ │86└──────────────────────────────────────────────────────────┘87```8889### Minimal Footer9091Best for: simple sites, landing pages.9293```94┌──────────────────────────────────────────────────────────┐95│ [Logo] │96│ © 2026 Company · Privacy · Terms · Contact │97└──────────────────────────────────────────────────────────┘98```99100### Expanded Footer101102Best for: sites using footer for SEO (comparison pages, location pages, resource links).103104```105┌──────────────────────────────────────────────────────────┐106│ Product Resources Compare Use Cases │107│ Features Blog vs Competitor A For Startups │108│ Pricing Guides vs Competitor B For Enterprise│109│ API Templates vs Competitor C For Agencies │110│ │111│ Integrations Popular Posts │112│ Slack Zapier How to Do X │113│ HubSpot Salesforce Guide to Y │114│ Template: Z │115│ │116│ [Logo] © 2026 · Privacy · Terms · Security │117└──────────────────────────────────────────────────────────┘118```119120---121122## Sidebar Navigation123124### Documentation Sidebar125126Persistent left sidebar with collapsible sections.127128```129Getting Started130├── Installation131├── Quick Start132└── Configuration133134Guides135├── Authentication136├── Data Models137└── Deployment138139API Reference140├── REST API141│ ├── Users142│ ├── Projects143│ └── Webhooks144└── GraphQL145146Examples147├── Next.js148├── Rails149└── Python150151Changelog152```153154Rules:155- Current page highlighted156- Sections collapsible (expanded by default for active section)157- Search at top of sidebar158- "Previous / Next" page navigation at bottom of content area159- Sticky on scroll (doesn't scroll away)160161### Blog Category Sidebar162163```164Categories165├── SEO (24)166├── CRO (18)167├── Content (15)168├── Paid Ads (12)169└── Analytics (9)170171Popular Posts172├── How to Improve SEO173├── Landing Page Guide174└── Analytics Setup175176Newsletter177└── [Email signup form]178```179180---181182## Breadcrumbs183184### Standard Format185186```187Home > Features > Analytics188Home > Blog > SEO Category > How to Do Keyword Research189Home > Docs > API Reference > Authentication190```191192Rules:193- Separator: `>` or `/` (be consistent)194- Every segment is a link except the current page195- Current page is plain text (not linked)196- Don't include the current page if the title is already visible as an H1197198### With Schema Markup199200```html201<nav aria-label="Breadcrumb">202<ol itemscope itemtype="https://schema.org/BreadcrumbList">203<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">204<a itemprop="item" href="/"><span itemprop="name">Home</span></a>205<meta itemprop="position" content="1" />206</li>207<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">208<a itemprop="item" href="/features"><span itemprop="name">Features</span></a>209<meta itemprop="position" content="2" />210</li>211<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">212<span itemprop="name">Analytics</span>213<meta itemprop="position" content="3" />214</li>215</ol>216</nav>217```218219Or use JSON-LD (recommended):220221```json222{223"@context": "https://schema.org",224"@type": "BreadcrumbList",225"itemListElement": [226{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com/" },227{ "@type": "ListItem", "position": 2, "name": "Features", "item": "https://example.com/features" },228{ "@type": "ListItem", "position": 3, "name": "Analytics" }229]230}231```232233---234235## Mobile Navigation236237### Hamburger Menu238239Standard for mobile. All nav items collapse into a menu icon.240241Rules:242- Hamburger icon (three lines) top-right or top-left243- Full-screen or slide-out panel244- CTA button visible without opening the menu (sticky header)245- Search accessible from mobile menu246- Accordion pattern for nested items247248### Bottom Tab Bar249250Best for: web apps, PWAs, mobile-first products.251252```253┌──────────────────────────────────────┐254│ │255│ [Page Content] │256│ │257├──────────────────────────────────────┤258│ Home Search Create Profile │259│ 🏠 🔍 ➕ 👤 │260└──────────────────────────────────────┘261```262263Rules:264- 3-5 items max265- Icons + labels (not just icons)266- Active state clearly indicated267- Most important action in the center268269---270271## Anti-Patterns272273### Things to Avoid274275- **Too many header items** (8+): causes decision paralysis, nav becomes unreadable on smaller screens276- **Dropdown inception**: dropdowns inside dropdowns inside dropdowns277- **Mystery icons**: icons without labels — users don't know what they mean278- **Hidden primary nav**: burying important pages in hamburger menus on desktop279- **Inconsistent nav between pages**: nav should be identical across the site (except app vs marketing)280- **No mobile consideration**: desktop nav that doesn't translate to mobile281- **Footer as sitemap dump**: 50+ links in the footer with no organization282- **Breadcrumbs that don't match URLs**: breadcrumb says "Products > Widget" but URL is `/shop/widget-pro`283284### Common Fixes285286| Problem | Fix |287|---------|-----|288| Too many nav items | Group into dropdowns or mega menus |289| Users can't find pages | Add search, improve labeling |290| High bounce from nav | Simplify choices, use clearer labels |291| SEO pages not linked | Add to footer or resource sections |292| Mobile nav is broken | Test on real devices, use hamburger pattern |293294---295296## Navigation for SEO297298Internal links in navigation pass PageRank. Use this strategically:299300- **Header nav links are strongest** — put your most important pages here301- **Footer links pass less value** but still matter — good for comparison pages, location pages302- **Sidebar links** help with section-level authority — good for blog categories, doc sections303- **Breadcrumbs** provide structural signals to search engines — implement with schema markup304- **Don't use JavaScript-only nav** — search engines need crawlable HTML links305- **Use descriptive anchor text** — "Analytics Features" not just "Features"306