switch·Esc back

Top Nav

You might say

Use the classic layout: a navigation bar on top and all the content below it.

Place the main navigation across the top of the pageA top-navigation layout works when a product has a small number of primary sections and needs wide content space below. Keep labels short, show the current section, and decide how the navigation collapses on narrow screens.
Know first
Content areaSet readable width according to content and screen

When to use it

  • Marketing site
  • Product with a few main sections
  • Content that needs full page width
  • Simple cross-page navigation
    Create project

When NOT to use it

  • Squeeze many deep sections into one row
  • Hide the active destination
  • Let navigation wrap into an accidental second line
  • Copy the desktop row unchanged onto a phone
Anatomy
Content areaFooter · Copyright and secondary links
Holds the brand, navigation, and primary actions; make it sticky when needed
The page’s main content, centered with a maximum width and side whitespace
Holds copyright, regulatory information, and secondary links
Variants
Static
For a short page that does not need persistent navigation
Sticky
When navigation should remain available while users scroll through a long page
Stacked
When the navigation has too many items for a single row
Typical use cases
Company site
◆ Late-Night Frontend HomepageColumnWeeklyAbout
How I used AI to build a website in one week
Frontend notes · Yesterday · 8 minutes to read
Five CSS Grid layouts you’ll use again and again
Tutorial · 3 days ago · Read in 12 minutes
SaaS product
▲ Yunxie Flow ProductsSolutionsPricingDocuments
Make team collaboration as easy as chat
Tasks, documents, and schedules in one place, get started in 5 minutes
Portfolio
▮ DevDocs GuidelinesAPIExamplesCommunity
Quick start
npm install vibekit
Simple dashboard
● Innovation Conference AgendaGuestsPrevious ReviewFAQ
2026 Summer Session · August 15 · Shanghai
Designer’s AI Workflow Conference
12 practical sharing sessions a day, early bird tickets are limited to 500
Further reading