← Back to Blog

SaaS Dashboard Layouts in Tailwind CSS: The 5 Patterns Every Developer Needs

·
tailwinddashboardsaasreactui-patterns

SaaS Dashboard Layouts in Tailwind CSS: The 5 Patterns Every Developer Needs

Every SaaS dashboard looks different on the surface, but under the hood, they all use one of five layout patterns. Pick the wrong one and you will spend weeks fighting responsive breakpoints, sidebar collisions, and content overflow.

We broke down the dashboard implementations from Stripe, Linear, Vercel, GitHub, and Notion to identify the structural patterns that actually work in production.


Pattern 1: Fixed Sidebar + Scrollable Main

Used by: Stripe Dashboard, Linear, Notion

The most common SaaS dashboard layout. A fixed-width sidebar on the left (typically 240-280px) with the main content area scrolling independently.

Tailwind structure:

<div class="flex h-screen">
  <aside class="w-64 shrink-0 overflow-y-auto border-r">
    <!-- Navigation -->
  </aside>
  <main class="flex-1 overflow-y-auto">
    <!-- Page content -->
  </main>
</div>

Key details:

  • The sidebar scrolls independently from main content using overflow-y-auto on both containers.
  • On mobile, the sidebar becomes an overlay triggered by a hamburger menu.
  • Stripe uses a collapsible sidebar that shrinks to icon-only (48px) on smaller screens.

When to use it: Multi-section products with deep navigation (10+ pages). This is the safe default for most SaaS apps.


Pattern 2: Top Nav + Content Grid

Used by: Vercel Dashboard, Cloudflare

No sidebar at all. A horizontal top navigation bar with the content organized in a responsive grid below.

Tailwind structure:

<div class="min-h-screen">
  <nav class="sticky top-0 z-50 border-b bg-background">
    <!-- Horizontal nav -->
  </nav>
  <main class="mx-auto max-w-6xl px-4 py-8">
    <div class="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
      <!-- Cards -->
    </div>
  </main>
</div>

Key details:

  • Works best when your product has fewer than 7 top-level sections.
  • The top nav uses sticky top-0 so it stays visible on scroll.
  • Content typically uses a max-w-6xl or max-w-7xl container for readability.

When to use it: Developer tools, project dashboards, and products where the primary view is a list or grid of items.


Pattern 3: Sidebar + Header + Breadcrumbs

Used by: GitHub, AWS Console, Jira

A three-layer hierarchy: fixed sidebar for top-level navigation, a contextual header for the current section, and breadcrumbs for deep nesting.

Key details:

  • The header changes content based on which sidebar item is active.
  • Breadcrumbs replace back buttons for navigation in deeply nested views.
  • This pattern handles complexity well but requires careful information architecture.

When to use it: Enterprise products with deep hierarchies (org → project → repo → file). Avoid this for simple products — the visual weight slows users down.


Pattern 4: Collapsible Sidebar with Command Palette

Used by: Linear, Raycast, Arc Browser

A modern variation where the sidebar can be fully collapsed, and users navigate primarily through a command palette (Cmd+K).

Key details:

  • The sidebar toggle is a keyboard shortcut (usually [ or Cmd+\).
  • When collapsed, only icons are visible with tooltips on hover.
  • The command palette handles navigation, search, and actions in a single interface.
  • This pattern assumes keyboard-proficient users.

When to use it: Developer tools and productivity apps where power users want maximum screen real estate.


Pattern 5: Split Panel with Resizable Divider

Used by: Email clients (Gmail, Superhuman), Notion databases, Linear issues

A two-panel layout where the left panel shows a list and the right panel shows the selected item's detail view. The divider between them is draggable.

Key details:

  • The list panel is typically 300-400px wide by default.
  • Clicking a list item loads its content in the detail panel without a page navigation.
  • On mobile, this becomes a stack — the list is a full page, and tapping an item pushes to a detail view.
  • Keyboard navigation (arrow keys) should move through the list while the detail panel updates.

When to use it: Any product where users browse through a list of items and need to see details without losing their place (tickets, emails, database records).


Responsive Patterns That Scale

Regardless of which layout you choose, these responsive rules apply:

  • Below 768px: Sidebars become overlay drawers. Split panels become stacked views.
  • 768px-1024px: Consider collapsing sidebars to icon-only mode.
  • Above 1024px: Full layout with all panels visible.
  • Above 1440px: Add max-w constraints to prevent content from stretching too wide.

From Pattern to Production

Picking the right layout is step one. Implementing it with proper scroll behavior, responsive breakpoints, and smooth transitions is where the real work begins.

On PageInspo, you can browse real dashboard implementations from production apps. Each one is captured as a live, interactive component — not a screenshot. You can see exactly how the sidebar collapses, how the layout reflows on mobile, and how the scroll containers interact.

Click "Copy Prompt" to generate the layout structure as a clean Tailwind/React component in your IDE.

Browse dashboard patterns on PageInspo and start building.