Mixpanel DESIGN.md

Brands

Product analytics design with rich purple identity, event-driven dashboards, funnel visualization, and user-journey clarity.

Raw DESIGN.md

At a glance

Group
Brands
Main color
#7856ffBlue design systems
Fonts
InterJetBrains Mono

Colors in this file

  • #7856ff

    background

  • #ffffff

    background

  • #e5e7eb

    Unnamed

  • #5b3fcc

    Unnamed

  • #2563eb

    Unnamed

  • #16a34a

    Unnamed

  • #dc2626

    Unnamed

  • #d97706

    Unnamed

  • #f8f9fc

    Unnamed

  • #1e1e2e

    Unnamed

Product analytics design with rich purple identity, event-driven dashboards, funnel visualization, and user-journey clarity.

1. Visual Theme & Atmosphere

Mixpanel should feel analytical, rich, and empowering. The design language communicates event tracking, funnel analysis, retention curves, A/B testing, and user segmentation.

  • Mood: analytical, powerful, precise, data-rich
  • Density: high, with event tables, funnel charts, retention grids, and cohort breakdowns
  • Character: rich purple brand, white analytics canvas, categorical chart colors, precision data grids

2. Color Palette & Roles

TokenHexRole
--mx-purple#7856FFPrimary brand CTA and highlights
--mx-purple-dark#5B3FCCHover and active states
--mx-blue#2563EBSecondary actions and links
--mx-green#16A34AConversion success and positive delta
--mx-red#DC2626Drop-off and negative delta
--mx-amber#D97706Warning and degraded metrics
--surface-card#FFFFFFChart cards and query panels
--surface-bg#F8F9FCDashboard background
--surface-query#1E1E2EQuery builder dark surface
--text-primary#111827Metric labels and chart titles
--border-default#E5E7EBPanel and chart borders

Purple is the primary action color. Chart series colors must be distinct and consistent across all report types — never reuse a series color for a different property in the same report.

3. Typography Rules

css--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
ElementSizeWeightLine Height
Page Title30px7001.1
Report Title22px6001.2
Chart Label13px6001.3
Data Value28px7001.0
Body15px4001.6
Axis Label11px5001.4
Event Name14px6001.35

4. Component Stylings

css.button-primary {
  min-height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 6px;
  background: #7856FF;
  color: #FFFFFF;
  font: 600 14px/1 Inter, sans-serif;
}

.report-card {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 20px 24px;
}

.funnel-step {
  border-radius: 8px;
  background: #7856FF;
  color: #FFFFFF;
  padding: 10px 16px;
  font: 600 13px/1.3 Inter, sans-serif;
}

.event-chip {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: #F3F0FF;
  color: #7856FF;
  font: 600 12px/1.4 Inter, sans-serif;
}

5. Layout Principles

TokenValueUsage
--space-28pxChart legend spacing
--space-416pxReport card rhythm
--space-624pxDashboard panel padding
--space-1040pxSection separation

Left sidebar for event and property navigation. Main canvas for the active report. Query builder should expand inline, not navigate away.

6. Depth & Elevation

css.shadow-card  { box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06); }
.shadow-panel { box-shadow: 0 8px 24px rgba(120, 86, 255, 0.10); }
.shadow-modal { box-shadow: 0 20px 50px rgba(17, 24, 39, 0.16); }

Funnel steps can use a slight purple shadow to reinforce sequential flow.

7. Do's and Don'ts

Do make the event selector the fastest interaction in the product. Do show conversion rates as both percentage and absolute number. Do use consistent chart color series per property. Do not hide segment breakdowns behind multiple clicks. Do not use purple for both CTAs and chart series simultaneously.

8. Responsive Behavior

BreakpointMin WidthBehavior
Mobile0pxKey metric summary only, no interactive charts
Tablet768pxSimplified funnel and retention view
Desktop1200pxFull analytics workspace: event explorer, charts, segments

Mixpanel's core value is delivered on desktop — mobile is for metric consumption only.

9. Agent Prompt Guide

Design like Mixpanel: rich purple CTAs, event-chip labels, white analytics canvas, funnel step visualization, precise axis labels, consistent chart series colors, and query-builder hierarchy.

Use it with your agent

Save the file as DESIGN.md in your project root, then ask your agent to follow it for UI work. Or let the agent fetch it over MCP.

Download

curl -o DESIGN.md https://www.uiskillbook.com/design-md/mixpanel.md

MCP server

https://www.uiskillbook.com/mcp

MCP tool call

get_design_md({ "slug": "mixpanel" })