仪表盘设计提示词

复制 8 条适用于 ChatGPT、Claude、Cursor 和 v0 的仪表盘 UI 提示词,包含具体的数据、布局、交互和响应式要求。

dashboard UI promptadmin panel design promptdashboard layout promptanalytics dashboard promptdata visualization UIdashboard design system

直接答案

8 条可复制的仪表盘 UI 提示词

本页提供 8 条适用于 ChatGPT、Claude、Cursor 和 v0 的仪表盘提示词,覆盖数据分析、后台管理、财务、移动端、运维和人事场景。每条都可以直接复制,再替换成你的用户、数据和技术栈。

写提示词时要交代的 6 件事

  1. 01说明目标用户、他们要做的决策,以及仪表盘的首要任务。
  2. 02列出真实数据字段,并按重要性排列 KPI。
  3. 03分别说明桌面端和移动端布局变化,不要只写“响应式”。
  4. 04明确筛选、表格操作、加载、空内容、错误和权限状态。
  5. 05要求颜色之外的文字标签、键盘焦点、可读对比度,以及图表或表格替代内容。
  6. 06写明框架、组件库、图表库和期望输出的文件。

模糊要求与可执行提示词对比

信息不足

做一个现代的数据分析仪表盘,要有卡片和图表。

可执行版本

使用 React、TypeScript、Tailwind CSS 和 Recharts,为增长负责人构建响应式订阅分析仪表盘。优先展示 MRR、流失率、试用转化率和活跃账户。桌面端使用可折叠侧边栏与 12 列内容网格,移动端改为顶部栏并纵向排列 KPI 卡片。加入日期范围、对比周期、加载骨架、空状态、API 错误状态、清晰的键盘焦点;每种状态色都要配文字标签,并提供能读取图表数值的数据表。输出页面组件、带类型的示例数据和简短验收清单。

参考来源

关于此主题

有效的仪表盘提示词需要说明用户要做的决策、可用数据,以及界面必须处理的各种状态。侧边栏、KPI 卡片、图表和表格应服务于具体工作流,而不是默认全部堆进页面。下面的示例把这些约束写清楚,便于检查和按项目调整。

提示词示例

AI 提示词示例

复制这些提示词,用你喜欢的 AI 工具生成仪表盘设计提示词设计。

数据分析仪表盘

General
Build a responsive analytics dashboard with a fixed sidebar navigation, top header with search and user avatar, and a main content area. Include: 4 KPI metric cards at the top (revenue, users, conversion rate, active sessions), a large area chart for trends, a bar chart for comparisons, and a recent activity data table. Use a clean, professional color palette with a white background and subtle gray borders. Ensure proper spacing between all elements.

v0 管理面板

v0
Create an admin dashboard page with shadcn/ui components. Include a collapsible sidebar with icons and labels, breadcrumb navigation, 4 stat cards with sparkline charts, a main data table with sorting/filtering/pagination, and a notification dropdown. Use Tailwind CSS with neutral gray palette. The layout should be responsive with the sidebar collapsing to icons on mobile.

Cursor 仪表盘

Cursor
I need a Next.js dashboard page using Tailwind CSS and Recharts. Structure: fixed left sidebar (240px) with logo, nav links with icons, and user profile at bottom. Main area has a top bar with page title and date range picker. Content grid: row 1 has 4 metric cards, row 2 has a line chart (60% width) and a donut chart (40% width), row 3 has a data table. Use Inter font, 16px base grid, and a warm neutral color scheme.

Claude 仪表盘

Claude
Generate a complete dashboard layout as a React component with TypeScript. Requirements: responsive grid layout using CSS Grid, dark/light theme support via CSS custom properties, sidebar navigation with nested menu items, metric cards with trend indicators (up/down arrows + percentage), chart placeholders using recharts, and a sortable data table. Follow accessibility best practices with proper ARIA roles. Use Tailwind CSS for styling.

深色侧边栏金融仪表盘

General
Design a finance dashboard with a dark sidebar (#0f172a) and a light content area (#f8fafc). Sidebar: 256px wide, nav labels in #94a3b8, active item with a #3b82f6 left border and #1e293b background. Content: 4 KPI cards showing balance, income, expenses, and savings rate, each with a 12-point sparkline. Numbers use tabular-nums at 28px semibold; positive deltas in #16a34a, negative in #dc2626, always paired with an arrow icon so color is not the only signal. Cards on white with 1px #e2e8f0 borders, 24px padding, 24px grid gap. Include a transactions table with zebra rows (#f1f5f9) and right-aligned amounts.

v0 移动优先分析面板

v0
Create a mobile-first analytics dashboard with shadcn/ui. On mobile: a bottom tab bar (4 items, 56px tall, 44px minimum touch targets), stacked full-width metric cards, and horizontally scrollable chart cards with scroll-snap. On md and up: switch to a 12-column grid with a collapsible left sidebar. Palette: background #fafafa, cards #ffffff with border #e5e5e5, single accent indigo #4f46e5 for active states and chart lines. Typography: Inter, 14px body, 24px card values. Charts must include visible axis labels at 12px #737373 and pass 4.5:1 contrast for all text.

Cursor 实时运维仪表盘

Cursor
Build a realtime operations dashboard in Next.js with Tailwind and Recharts. Dark theme: background #09090b, panels #131316 with 1px #26262b borders, 8px radius. Status semantics: healthy #22c55e, degraded #f59e0b, down #ef4444, each shown as a dot plus a text label (never color alone). Layout: a top status strip of 6 service tiles, a large streaming line chart with a 60-second window, and a log feed in JetBrains Mono 13px with #a1a1aa timestamps. Use aria-live=polite on the log feed, 16px grid gaps, and a pulsing dot animation limited to transform and opacity for performance.

Claude 人事管理后台

Claude
Generate an HR admin panel as a React TypeScript component. Layout: 240px sidebar with grouped nav sections (People, Payroll, Settings) using 11px uppercase #6b7280 group labels, plus a content area with a sticky header holding breadcrumbs and a search input. Include an employee table with avatar, name, department badge, and status pill; pills use tinted backgrounds (#dcfce7 with #166534 text for active, #fee2e2 with #991b1b for offboarding) to keep 4.5:1 contrast. Row height 56px, cell padding 16px, header row #f9fafb. Add a slide-over detail drawer (480px) with labeled field groups on a 24px vertical rhythm. Font: Inter throughout.

适用场景

最佳使用场景

SaaS 管理后台

用于管理用户、订阅和产品分析的内部工具。

电商数据分析

销售追踪、库存管理和客户行为分析仪表盘。

运维监控

服务器状态、部署状况和错误追踪界面。

财务报表

收入仪表盘、支出追踪和财务预测工具。

常见问题

常见问题解答

什么是好的仪表盘 UI 设计?
好的仪表盘要帮助特定用户做出决策。让优先级最高的指标拥有最清晰的层级,标注图表和时间范围,把控件放在它所影响的数据附近,并补齐加载、空内容、错误和权限状态。无论使用侧边栏、顶部栏还是移动端的紧凑导航,都应让用户知道当前位置。
如何用 Tailwind CSS 创建仪表盘?
先确定语义化页面区域,再用 Tailwind 的 Grid 或 Flexbox 工具类布局。宽屏可以使用 12 列网格,但必须说明卡片、图表、导航和表格在更小断点如何重排。使用真实按钮与表格标记,提供清晰的焦点样式,并补齐加载、空内容和错误状态;先明确数据与交互需求,再选择图表库。
哪些 AI 工具可以生成仪表盘设计?
ChatGPT、Claude、Cursor 和 v0 都可以根据提示词产出仪表盘概念或界面代码,具体选择取决于你的工作流与技术栈。无论使用哪个工具,都应提供明确的用户、数据、状态、无障碍要求和输出格式,并在真实应用中检查和测试结果。
仪表盘最佳布局是什么?
仪表盘没有唯一的最佳布局,应根据用户的主要任务和使用场景确定层级。桌面运维工具可能适合常驻导航和密集网格,移动端现场仪表盘则可能只需要一个关键状态、简短操作列表和下钻页面。在提示词中同时说明不同场景,以及哪些内容要移动、堆叠、收起或保持可见。
仪表盘一次应该展示多少个指标?
只保留支持主要决策所需的最小指标集合,KPI 数量没有通用答案。区分核心指标和诊断细节,把相关数值分组,将次要数据放入图表、表格或下钻页面;和实际使用者一起验证选择,不要把所有需求都压缩成同等大小的卡片。
仪表盘的图表配色如何选择?
根据数据类型选择配色:顺序型数值使用有序的明度变化,分类数据使用能清晰区分的颜色。保持状态含义一致,并为每种颜色差异补充文字、图标、图案或位置线索。按 WCAG 2.2,普通文字至少需要 4.5:1 对比度,大号文字至少需要 3:1;图表控件和有意义的非文字图形也要完成相应的对比度与交互检查。

Previews

Example previews and starter templates

Use these examples to anchor your dashboard prompt in real KPI cards, charts, tables, and filter layouts instead of vague dashboard language.

Warm Dashboard

Useful for calmer analytics surfaces without losing hierarchy or density control.

Open template

Dashboard with Charts

A straightforward base for KPI cards, trend charts, and reporting views.

Open template

Calendar Schedule

Helpful when prompts need filters, calendars, detail panels, and operator workflows.

Open template

Fitness Dashboard

A more energetic dashboard preview for KPI cards, progress visuals, and activity views.

Open template

想要完整的设计系统?

StyleKit 提供 148 种视觉风格,每种都有 design tokens、组件配方和可导出的 AI Rules。

相关提示词库

探索 StyleKit 的其他 AI 提示词库,覆盖不同界面类型与技术栈。