Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)48k · #4391

dashboard-design

Skill này làm gì

Hướng dẫn này chỉ cách tạo bố cục màn hình tập trung hiển thị thông tin quan trọng một cách có tổ chức. Nó lý tưởng cho bảng điều khiển hiển thị dữ liệu và chỉ số.

Khi nào nên dùng

  • ✓Khi bạn muốn bảng điều khiển hiển thị dữ liệu kinh doanh quan trọng.
  • ✓Khi tạo màn hình có biểu đồ hiệu suất và các con số.
  • ✓Khi bạn cần bố cục với nhiều khung (widget) để hiển thị thông tin.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/dashboard-design/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/dashboard-design/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo bố cục bảng điều khiển để hiển thị doanh số, người dùng đang hoạt động và tỷ lệ rời bỏ.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Nó chia màn hình thành các phần nhỏ (widget) cho từng loại thông tin. Thông tin quan trọng nhất ở trên cùng, và dùng màu dịu để làm nổi bật các con số.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Dashboard Design

"Data at a glance. Organized, scannable, and highly functional."

When to Use

Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.

Core Principles

  1. Modular Grid: The screen is broken down into functional "widgets" or cards. Usually a sidebar on the left and a top nav.
  2. Data Hierarchy: The most important numbers (KPIs) are large and usually at the top. Charts take up the middle, and lists/tables are at the bottom.
  3. Muted Backgrounds: A soft grey or off-white background so the white data cards stand out clearly.

Visual DNA

  • Colors: Minimalist Slate or Earth-Grounded Elegance. Avoid too many colors. Use red/green strictly for positive/negative trends.
  • Typography: Clean, tabular sans-serifs (Inter, Roboto Mono for numbers).
  • Styling: Very subtle shadows or 1px borders to separate cards.

Web Implementation

  • Use CSS Grid for the macro layout (Sidebar, Header, Main).
  • CSS Example:
body {
  background-color: #F8F9FA;
  color: #212529;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: 70px 1fr;
  height: 100vh;
}

.sidebar {
  grid-row: 1 / 3;
  background-color: #ffffff;
  border-right: 1px solid #e9ecef;
  padding: 20px;
}

.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
  padding: 0 30px;
  display: flex;
  align-items: center;
}

.main-content {
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  overflow-y: auto;
}

/* KPI Card */
.kpi-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.kpi-title { font-size: 0.9rem; color: #6c757d; }
.kpi-value { font-size: 2rem; font-weight: 700; margin-top: 8px; }
.kpi-trend.positive { color: #28a745; }

App Implementation

SwiftUI

struct DashboardView: View {
    // For iPad/Mac, NavigationSplitView is ideal.
    // For iPhone, we use a scrolling VGrid.
    let columns = [
        GridItem(.adaptive(minimum: 150), spacing: 16)
    ]
    
    var body: some View {
        NavigationView {
            ScrollView {
                LazyVGrid(columns: columns, spacing: 16) {
                    KPICard(title: "Revenue", value: "$45,231", trend: "+12.5%", isPositive: true)
                    KPICard(title: "Active Users", value: "2,405", trend: "+4.1%", isPositive: true)
                    KPICard(title: "Churn Rate", value: "1.2%", trend: "-0.4%", isPositive: false)
                    KPICard(title: "Avg. Session", value: "4m 12s", trend: "+0.1%", isPositive: true)
                }
                .padding()
                
                // Placeholder for Chart
                RoundedRectangle(cornerRadius: 12)
                    .fill(Color.white)
                    .frame(height: 250)
                    .overlay(Text("Chart Area").foregroundColor(.gray))
                    .padding(.horizontal)
            }
            .background(Color(UIColor.systemGroupedBackground))
            .navigationTitle("Overview")
        }
    }
}

struct KPICard: View {
    let title: String
    let value: String
    let trend: String
    let isPositive: Bool
    
    var body: some View {
        VStack(alignment: .leading, spacing: 8) {
            Text(title).font(.subheadline).foregroundColor(.secondary)
            Text(value).font(.title2).fontWeight(.bold)
            Text(trend)
                .font(.caption)
                .fontWeight(.semibold)
                .foregroundColor(isPositive ? .green : .red)
        }
        .padding()
        .frame(maxWidth: .infinity, alignment: .leading)
        .background(Color.white)
        .cornerRadius(12)
        .shadow(color: Color.black.opacity(0.02), radius: 4, y: 2)
    }
}
  • Dashboards require .adaptive grids. LazyVGrid handles rearranging 4 cards in a row on iPad down to 2 cards on iPhone automatically.
  • Use Color(UIColor.systemGroupedBackground) to provide that subtle off-white contrast against stark white cards.

Flutter

class DashboardScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color(0xFFF8F9FA),
      appBar: AppBar(

…
Câu hỏi thường gặp

“Widgets” là gì?

Đó là các khối hoặc khung trên màn hình hiển thị thông tin cụ thể, như một con số quan trọng hoặc biểu đồ.

Vì sao dùng màu dịu?

Màu nền dịu giúp dữ liệu và các khung thông tin nổi bật hơn, làm mọi thứ dễ đọc hơn.

KPI là gì?

KPI là viết tắt của Key Performance Indicators (chỉ số hiệu suất chính). Đây là những con số quan trọng nhất để đo lường thành công của một việc gì đó.

Chi tiết

Mô tả gốc của tác giả

Web and App implementation guide for Dashboard Design. Trigger when user wants analytics-focused layouts, data visualization, and modular overview screens.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4391
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự