00-templates/ui-kit/USAGE.html

Cowork UI Kit — Hướng dẫn thực tế

Đọc trong 5 phút · áp dụng được ngay

Bắt đầu 1 project mới? Đây là cách dùng kit.

File này hướng dẫn anh sử dụng Cowork UI Kit khi bắt đầu 1 công việc thực tế — từ "anh có idea" đến "có UI chạy trên browser". Không lý thuyết, chỉ workflow.

3 scenario phổ biến nhất + decision tree chọn aesthetic + code snippet copy-paste + checklist QC trước deploy.

TL;DR · 30 giây

Quy trình chuẩn 4 bước

  1. 1
    Chọn archetype (page type)
    Dashboard? Landing? Editorial? Mở _previews/index.html, nhìn 6 cái, chọn 1.
  2. 2
    Aesthetic đã có sẵn theo archetype
    Dashboard / Tool → Dark P4. Landing / Editorial / PWA → Warm P1. Không cần chọn thêm.
  3. 3
    Setup tokens vào project
    Next.js → copy tokens/tailwind.preset.js. WordPress/HTML → import tokens/tokens.css.
  4. 4
    Copy component từ showcase
    Mở showcase/0X-*.html, view source, copy block HTML cần dùng. Paste vào project. Xong.
Step 2 · aesthetic đã chốt theo archetype

Anh không phải chọn lại

Mỗi archetype đã map cứng vào 1 aesthetic — đừng pha trộn.

Warm
P1 · Terracotta Sand

Archetype C / D / E / F

Landing, editorial, deck, mobile PWA — bất cứ thứ gì người dùng cuối sẽ chạm vào.

Brand fit: KHI, An Nhien, BetterBuy DTC, Xanh, A-Kryphan
Font: Instrument Serif italic + Inter sans
Không dùng: mono font, grid lines, terminal vibe
Dark
P4 · GRAPHITE AURORA

Archetype A / B

Dashboard, internal tool, BI — bất cứ thứ gì người trong team dùng để ra quyết định.

Brand fit: KHI Funnel admin, Cakeinsights, FB Ads, home.dang.pm
Font: Inter tight + IBM Plex Mono labels
Không dùng: Instrument Serif body, emoji, soft shadow

Sẵn sàng bắt đầu?

Mở gallery, chọn archetype, copy mockup gần nhất, replace content. Xong 30 phút.