SaaS Analytics Dashboard

A full-featured analytics dashboard with KPI cards, revenue charts, user activity tables, and a collapsible sidebar nav — ideal for SaaS admin panels.

DashboardsComplexsaas
Compatible with:ChatGPTv0Bolt.newCursorGitHub Copilot
Patterns:sidebar, card-grid, table
Prompt
Create a SaaS analytics dashboard web app layout. The page should have:

- A fixed left sidebar (240px wide) with a company logo at the top, primary navigation links (Dashboard, Analytics, Revenue, Users, Settings), and a user avatar + name at the bottom. The sidebar should be collapsible on mobile.
- A top header bar with a page title on the left, a global search input in the center, and a notification bell + user avatar on the right.
- A main content area with:
  1. A row of 4 KPI cards showing: Total Revenue ($124,500, +12% vs last month), Active Users (8,320, +4%), Churn Rate (2.1%, -0.3%), and MRR ($10,375, +8%). Each card has an icon, the metric value in large bold text, a % change badge (green for positive, red for negative), and a small sparkline chart.
  2. A large line chart titled "Revenue Over Time" spanning the last 12 months with a toggle to switch between Revenue and MRR views.
  3. Two columns below: a bar chart titled "New Signups by Week" on the left, and a "Top Plans" donut chart on the right.
  4. A data table titled "Recent Transactions" with columns: User, Plan, Amount, Date, Status. Include pagination controls.

Use a white background with subtle zinc-100 card backgrounds, blue as the primary accent color, and Inter or system font. The layout must be fully responsive — on mobile the sidebar becomes a bottom tab bar.
Mockdown
[HEADER]
  [Logo: "Acme SaaS"] [Search: "Search..."] [🔔 Notifications] [Avatar: JD]

[SIDEBAR — left, fixed]
  ● Dashboard (active)
  ○ Analytics
  ○ Revenue
  ○ Users
  ○ Settings
  ──────────
  [Avatar] John Doe / Admin

[MAIN CONTENT]

  [KPI CARDS — 4 cols]
  ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
  │ 💰 Total Revenue  │ │ 👥 Active Users   │ │ 📉 Churn Rate    │ │ 📈 MRR           │
  │ $124,500          │ │ 8,320             │ │ 2.1%             │ │ $10,375          │
  │ ▲ +12% vs last mo │ │ ▲ +4%             │ │ ▼ -0.3%          │ │ ▲ +8%            │
  │ [sparkline ~~~~]  │ │ [sparkline ~~~~]  │ │ [sparkline ~~~~] │ │ [sparkline ~~~~] │
  └──────────────────┘ └──────────────────┘ └──────────────────┘ └──────────────────┘

  [CHART — full width]
  ┌─────────────────────────────────────────────────────────────────────────────────┐
  │ Revenue Over Time                                    [Revenue ▾] [MRR]          │
  │                                                                                 │
  │  $14k │                                          ╭────╮                        │
  │  $12k │                              ╭──────────╯    ╰────                    │
  │  $10k │                    ╭────────╯                                          │
  │   $8k │──────────────────╮╯                                                   │
  │       └──────────────────────────────────────────────────────────             │
  │       Jan  Feb  Mar  Apr  May  Jun  Jul  Aug  Sep  Oct  Nov  Dec               │
  └─────────────────────────────────────────────────────────────────────────────────┘

  [TWO COLUMNS]
  ┌──────────────────────────────────────┐  ┌──────────────────────────────────────┐
  │ New Signups by Week                  │  │ Top Plans                            │
  │  500 │ █                             │  │       ╭──────╮                       │
  │  400 │ █  █                          │  │    ╭──╯      ╰──╮                    │
  │  300 │ █  █  █  █                    │  │   ╱   ●  Pro    ╲                   │
  │  200 │ █  █  █  █  █                 │  │   ╲  ○ Starter  ╱                   │
  │      W1 W2 W3 W4 W5                  │  │    ╰──○ Enterprise╯                 │
  └──────────────────────────────────────┘  └──────────────────────────────────────┘

  [TABLE — Recent Transactions]
  User             Plan        Amount    Date          Status
  ─────────────────────────────────────────────────────────────
  Alice Johnson    Pro         $49.00    Feb 18, 2026  ● Paid
  Bob Smith        Starter     $19.00    Feb 17, 2026  ● Paid
  Carol White      Enterprise  $199.00   Feb 17, 2026  ◌ Pending
  David Lee        Pro         $49.00    Feb 16, 2026  ✕ Failed

  [Pagination: ← 1 2 3 … 12 →]
SaaS Analytics Dashboard
┌──────────┬────────────────────────────────────┐
│ ☰ Menu   │  ◉ Dashboard        🔔  👤        │
│          ├────────────────────────────────────┤
│ ● Home   │  ┌────────┐ ┌────────┐ ┌────────┐ │
│ ○ Stats  │  │ ▲ 1,234│ │ ● 87%  │ │ $9.4K  │ │
│ ○ Users  │  │ KPI ···│ │ KPI ···│ │ KPI ···│ │
│ ○ Config │  └────────┘ └────────┘ └────────┘ │
│          │  ┌──────────────────────────────┐  │
│          │  │  📈 Chart                    │  │
│          │  │  ╱╲    ╱╲  ╱╲               │  │
│          │  │ ╱  ╲╱╱  ╲╱  ╲╱───          │  │
│          │  └──────────────────────────────┘  │
│          │  ┌──────────────────────────────┐  │
│          │  │  Name    Role     Status     │  │
│          │  │  ─────   ─────   ────────   │  │
│          │  │  Alice   Admin    ● Active   │  │
│          │  │  Bob     User     ○ Idle     │  │
│          │  └──────────────────────────────┘  │
└──────────┴────────────────────────────────────┘

UI Patterns Used

```
[◯ AB]  Alice Baker
[◯ JS]  John Smith
```

Characteristics:

Avatar

User avatar component (image, initials) used in lists, nav, and profiles

--avatar--profile--image+1
```
┌───────────────┬───────────────┬───────────────┐
│               │               │               │
│  ┌─────────┐  │  ┌─────────┐  │  ┌─────────┐  │
│  │ [Image] │  │  │ [Image] │  │  │ [Image] │  │
│  │         │  │  │         │  │  │         │  │

Card Grid

Multiple cards arranged in a responsive grid layout, commonly used for displaying collections of items or data

--grid--cards--gallery+3
```
[✓ Feature One]   Short description about benefit.
[✓ Feature Two]   Short description about benefit.
[✓ Feature Three] Short description about benefit.
```

Feature List

List or grid of product/features with icons and short descriptions

--features--list--icons+1
```
┌─────────────┬──────────────────────────────┐
│  Logo       │                              │
├─────────────┤          Main Content        │
│ › Dashboard │                              │
│ › Analytics │                              │

Sidebar Navigation

Vertical navigation menu positioned on the side of a page, typically on the left, containing links and menu items

--navigation--sidebar--menu+2
```
───────── Metrics ─────────
  1M+  Users
  99.99% Uptime
  4.8/5  Average Rating
```

Stats / Metrics

Highlighted statistics or KPIs that communicate product impact at a glance

--stats--metrics--kpi+1
```
┌────────┬────────────┬──────────────┬──────────┐
│  Name  │  Status    │   Updated    │ Actions  │
├────────┼────────────┼──────────────┼──────────┤
│ Item A │ Active     │ 2026-02-01   │ [Edit]   │
│ Item B │ Disabled   │ 2026-01-12   │ [Edit]   │

Table

Structured rows and columns for dense tabular data with sorting and pagination

--table--grid--rows+3
```
┌────────────────────────────────────────────┐
│             Header                         │
├──────────────┬──────────────────────────────┤
│              │                             │
│  Sidebar     │      Main Content           │

Two-Column Layout

Side-by-side content arrangement with a main content area and secondary sidebar or complementary section

--layout--two-column--grid+3

Learn more about the UI patterns used in this layout.

Related Layouts

┌──────────┬────────────────────────────────────┐
│ ☰ Menu   │  ◉ Dashboard        🔔  👤        │
│          ├────────────────────────────────────┤
│ ● Home   │  ┌────────┐ ┌────────┐ ┌────────┐ │
│ ○ Stats  │  │ ▲ 1,234│ │ ● 87%  │ │ $9.4K  │ │
│ ○ Users  │  │ KPI ···│ │ KPI ···│ │ KPI ···│ │
│ ○ Config │  └────────┘ └────────┘ └────────┘ │
│          │  ┌──────────────────────────────┐  │
│          │  │  📈 Chart                    │  │
│          │  │  ╱╲    ╱╲  ╱╲               │  │
│          │  │ ╱  ╲╱╱  ╲╱  ╲╱───          │  │
│          │  └──────────────────────────────┘  │
│          │  ┌──────────────────────────────┐  │
│          │  │  Name    Role     Status     │  │
│          │  │  ─────   ─────   ────────   │  │
│          │  │  Alice   Admin    ● Active   │  │
│          │  │  Bob     User     ○ Idle     │  │
│          │  └──────────────────────────────┘  │
└──────────┴────────────────────────────────────┘
Dashboard

CRM Contact Dashboard

A full-featured CRM dashboard with a deal pipeline, contact table, activity feed, and sidebar nav — ideal for sales teams managing leads and revenue.

--crm--pipeline--contacts
Complex
┌──────────┬────────────────────────────────────┐
│ ☰ Menu   │  ◉ Dashboard        🔔  👤        │
│          ├────────────────────────────────────┤
│ ● Home   │  ┌────────┐ ┌────────┐ ┌────────┐ │
│ ○ Stats  │  │ ▲ 1,234│ │ ● 87%  │ │ $9.4K  │ │
│ ○ Users  │  │ KPI ···│ │ KPI ···│ │ KPI ···│ │
│ ○ Config │  └────────┘ └────────┘ └────────┘ │
│          │  ┌──────────────────────────────┐  │
│          │  │  📈 Chart                    │  │
│          │  │  ╱╲    ╱╲  ╱╲               │  │
│          │  │ ╱  ╲╱╱  ╲╱  ╲╱───          │  │
│          │  └──────────────────────────────┘  │
│          │  ┌──────────────────────────────┐  │
│          │  │  Name    Role     Status     │  │
│          │  │  ─────   ─────   ────────   │  │
│          │  │  Alice   Admin    ● Active   │  │
│          │  │  Bob     User     ○ Idle     │  │
│          │  └──────────────────────────────┘  │
└──────────┴────────────────────────────────────┘
Dashboard

Project Management Dashboard

A project management dashboard with a Kanban summary, sprint burndown chart, team utilization panel, and overdue task alerts — built for agile SaaS teams.

--project-management--kanban--burndown
Complex