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

tile-design

Skill này làm gì

Hướng dẫn này chỉ cách tạo diện mạo cho website và ứng dụng dùng các ô vuông sạch sẽ, nhiều màu với góc vuông, có thể di chuyển hoặc cuộn để hiển thị thông tin. Phong cách lấy cảm hứng từ giao diện Windows.

Khi nào nên dùng

  • ✓Khi bạn muốn thiết kế với các ô vuông hoàn hảo và màu sắc rực rỡ.
  • ✓Khi bạn thích màn hình cuộn ngang để xem thêm nội dung.
  • ✓Khi tạo thứ cần trông hiện đại và số hóa, như trong Windows 8.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/tile-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/tile-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 thiết kế màn hình bắt đầu theo phong cách Windows Metro.”

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

Cách hoạt động

Phong cách dùng các phần tử vuông không bo góc, màu mạnh và nền tối. Thông tin trong các ô có thể thay đổi, hoặc màn hình có thể cuộn ngang để hiển thị thêm.

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.

Tile Design (Metro UI)

"Authentically digital. Clean, sharp squares relying purely on typography and flat color."

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. Sharp Corners: Absolutely no border-radius. Everything is a perfect square or sharp rectangle.
  2. Live Data: Tiles flip, scroll, or fade internally to show live updates without the user interacting.
  3. Horizontal Panning: The grid often expands infinitely to the right, encouraging horizontal scrolling.

Visual DNA

  • Colors: High saturation, flat colors. A dark background (pure black) with bright cyan, magenta, orange, and green tiles.
  • Typography: Extremely clean, light sans-serifs (like Segoe UI Light). Text is almost always pure white.
  • Icons: Simple, wireframe, monochromatic glyphs placed centrally or in the corner.

Web Implementation

  • CSS Example:
body {
  background-color: #111;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: auto; /* Horizontal scroll */
}

.tile-group {
  display: grid;
  grid-template-columns: repeat(4, 150px);
  grid-auto-rows: 150px;
  gap: 8px;
  padding: 40px;
}

.tile {
  background-color: #0078D7; /* Classic Windows Blue */
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  
  /* The "tilt" click effect */
  transition: transform 0.1s;
  transform-origin: center;
}

.tile:active {
  transform: scale(0.95);
}

.tile-wide { grid-column: span 2; }
.tile-large { grid-column: span 2; grid-row: span 2; }

/* Live Tile Animation */
.tile-live-content {
  animation: slideUp 5s infinite;
}

@keyframes slideUp {
  0%, 45% { transform: translateY(0); }
  50%, 95% { transform: translateY(-100%); } /* Slides up to reveal next item */
  100% { transform: translateY(0); }
}

App Implementation

SwiftUI

struct TileDesignView: View {
    let rows = [GridItem(.fixed(150), spacing: 8), GridItem(.fixed(150), spacing: 8)]
    
    var body: some View {
        ScrollView(.horizontal, showsIndicators: false) {
            LazyHGrid(rows: rows, spacing: 8) {
                TileView(title: "Mail", color: Color(hex: "0078D7"), icon: "envelope")
                TileView(title: "Photos", color: Color(hex: "00CC6A"), icon: "photo", isLarge: true)
                TileView(title: "Weather", color: Color(hex: "2D7D9A"), icon: "cloud.sun")
                TileView(title: "Calendar", color: Color(hex: "D13438"), icon: "calendar")
            }
            .padding(40)
        }
        .background(Color(hex: "111111").ignoresSafeArea())
    }
}

struct TileView: View {
    let title: String
    let color: Color
    let icon: String
    var isLarge: Bool = false
    
    @State private var isPressed = false
    
    var body: some View {
        VStack(alignment: .leading) {
            Image(systemName: icon)
                .font(.system(size: 32, weight: .light))
                .foregroundColor(.white)
            Spacer()
            Text(title)
                .font(.custom("Segoe UI", size: 16))
                .foregroundColor(.white)
        }
        .padding(16)
        // Sharp corners are mandatory
        .frame(width: isLarge ? 308 : 150, height: isLarge ? 308 : 150, alignment: .leading)
        .background(color)
        .scaleEffect(isPressed ? 0.95 : 1.0)
        .animation(.spring(response: 0.2, dampingFraction: 0.5), value: isPressed)
        .onLongPressGesture(minimumDuration: .infinity, maximumDistance: .infinity, pressing: { pressing in
            isPressed = pressing
        }, perform: {})
    }
}
  • A LazyHGrid inside a horizontal ScrollView perfectly replicates the Windows Phone / Windows 8 start screen.
  • Absolutely NO corner radius.
  • The isPressed state triggering a .scaleEffect(0.95) replicates the physical "tilt" interaction of Metro tiles.

Flutter

class TileDesignScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color(0xFF111111),
      body: SingleChildScrollView(
        scrollDirection: Axis.horizontal,
        padding: const EdgeInsets.all(40),
        child: SizedBox(
          height: 308, // Two rows of 150px + 8px spacing
          child: Wrap(
            direction: Axis.vertical,

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

“Góc sắc” là gì?

Nghĩa là các ô vuông và hình chữ nhật dùng trong thiết kế không có đường cong ở cạnh, mà hoàn toàn thẳng.

“Live data” nghĩa là gì?

Đó là thông tin tự thay đổi trong các ô, như tin tức hoặc dự báo thời tiết, mà bạn không cần nhấn vào.

Vì sao màn hình cuộn sang ngang?

Thiết kế được tạo để bạn vuốt hoặc di chuột sang phải để xem thêm các ô và thông tin, tạo cảm giác không gian vô tận.

Chi tiết

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

Web and App implementation guide for Tile Design. Trigger when user wants Microsoft Metro style, sharp square information units, and horizontal scrolling grids.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4420
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ự