Design system slack.com

Slack | AI Work Platform & Productivity Tools

slack.commode terang2.282 elemen diukurdiukur 2 jam yang lalu
Kunjungi slack.com

slack.com memakai Salesforce-Avant-Garde, Salesforce-Sans untuk tipografi dan #730394 sebagai warna aksennya. Diukur pada 28 September 2026.

Pakai dengan AI Andajuga ada di dalam zip sebagai README.md dan PROMPT.md

  1. .
  2. Unzip paket ke dalam proyek Anda sehingga foldernya berada di design/slack.com-design-pack/.
  3. Opsional: salin juga folder ke .claude/skills/slack-com-design/. SKILL.md di dalamnya membuat Claude Code memuat paket dengan sendirinya setiap kali membangun UI.
  4. Tempel prompt di bawah ke Claude Code dan isi apa yang ingin Anda bangun.
Prompt

Prompt tetap dalam bahasa Inggris: prompt itu menyebut nama file di dalam paket, dan AI Anda bisa membacanya dalam bahasa apa pun.

Use the design pack in `design/slack.com-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://slack.com/.

1. Read DESIGN.md (colours, type, spacing, radii, shadows, components) and BEHAVIOR.md (hover, focus, tooltips, menus, motion, scrolling, forms, responsive rules) before writing any code.
2. Look at every image in `design/slack.com-design-pack/screenshots/` and match the composition, density, whitespace and image treatment. Tokens do not carry those; the screenshots do.
3. Style everything with `design/slack.com-design-pack/tokens.css` (or `tailwind.css` if this project uses Tailwind v4). Do not invent colours, radii, shadows or font sizes that are not in the pack.
4. Load the fonts named in DESIGN.md. Where a font is not freely available, use the stand-in it names at the same sizes and weights.
5. Match the breakpoints and hover, focus and motion rules in BEHAVIOR.md. The site has no dark mode, so do not add one.

Now build: [describe the page or app you want]

When you are done, compare the result with the screenshots at desktop and phone widths, fix the biggest visual difference first, and repeat.

Warna8 token

background
#ffffff
surface
#f9f0ff
foreground
#000000
muted-foreground
#181818
primary
#730394
on-primary
#ffffff
secondary
#0b5cab
border
#f3f3f3

Jarakunit 4px

48121620243240
Lebar konten
1230px
Breakpoint
425, 426, 550, 896, 1280px

Bayangan4

1
2
3
4

Tipografi2 font family

Salesforce-Avant-Gardeself-hosted, pengganti InterSalesforce-Sansself-hosted, pengganti Inter
headline-displayQuick brown fox64px / 700 / lh 1.06 / -0.768px
headline-lgQuick brown fox32px / 700 / lh 1.25 / -0.384px
headline-mdQuick brown fox24px / 700 / lh 1.25 / -0.096px
body-mdThe quick brown fox jumps over the lazy dog16px / 400 / lh 1.56 / -0.0192px
label-mdThe quick brown fox jumps over the lazy dog12px / 700 / lh 1.33
buttonThe quick brown fox jumps over the lazy dog16px / 700 / lh 1.38
Ukuran yang dipakai
121415161824325064

Radius

tombol 4pxinput 4pxkartu 16pxgambar 0px

Komponen

Get startedFind your planPause animationPlay anim
tombol primary
teks #ffffff di atas #730394, r 4px, h 42px, 14px/700
tombol secondary
teks #730394 di atas #ffffff, r 4px, h 57px, 14px/700
tombol ghost
teks #000000 di atas transparan di atas #ffffff, r 4px, h 32px, 14px/400
kartu
#ffffff, 1px solid #f3f3f3, r 16px
tautan
#1d1d1d, tanpa garis bawah, 700
header
0px, static, 12 tautan pada 0px
h1
64px / 700, perataan center, maks 923px
formulir
0 forms, 7 inputs. Required markers: 0. Help texts: 0. Label placement: no labelled inputs.
ikon
Icons: 15 inline SVGs, filled, sizes 18px/20px/12px, stroke .5; icon font classes icon-.

Interaksi dan animasi

  • button primary "Get started": background #730394 → #481a54
  • button secondary "Get started": background #730394 → #481a54, border #ffffff → #481a54
  • nav link "Enterprise": tanpa perubahan hover
  • fokus button primary: outline 2px dotted rgb(115, 3, 148), offset 5px
  • tooltip: Tooltip triggers exist (18 × aria-describedby, 40 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
  • menu: 14 aria-haspopup triggers exist; none opened on hover (click-to-open menus).
  • animasi: 109 elements carry transitions; typical 0.42s with cubic-bezier(0.165, 0.84, 0.44, 1), mostly on opacity, transform, box-shadow. 2 running keyframe animations (onetrust-fade-in 0.4s 1; delayBackgroundSwap 0.001s 1). 7 sizable elements sit at opacity 0 before scrolling: scroll-reveal animations are in use (reveal on enter, fade + rise is the usual recipe).

Tema

No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.

Responsif1440 / 1024 / 768 / 390 px

slack.com pada 1440 piksel
1440px
slack.com pada 1024 piksel
1024px
slack.com pada 768 piksel
768px
slack.com pada 390 piksel
390px
ViewportKontenGutterBodyH1HeaderHeroGridTombol
desktop 14401230px259px16px64px, 2 lines, center0px, 5 links, 1 CTAmedia below text2→1 col; 2→2 col; 2→1 colcontent-width
laptop 1024942px159px16px48px, 2 lines, center0px, hamburger (Menu), 1 CTAmedia below text5→1 col; 2→1 col; 2→2 col3 full-width
tablet 768707px119px16px32px, 2 lines, center0px, hamburger (Menu), 1 CTAmedia below text5→5 col; 2→1 col; 3→3 col8 full-width
phone 390359px60px16px32px, 3 lines, center0px, hamburger (Menu), 1 CTAmedia below text5→5 col; 2→1 col; 3→1 col10 full-width
  • H1 goes 64px → 32px (50%), 2 → 3 lines.
  • Nav collapses to a hamburger by 390px (first seen at 1024px); header 0px → 0px.
  • Card grids: 1 columns → 1 column on phones (gap 24px → 24px).
  • Body text stays 16px at every width.
  • Phone side gutter 60px.
  • 10 buttons stretch full-width on phones.
  • Section top padding 190px → 190px.

File di dalam paket14 file

DESIGN.md
Format DESIGN.md dari Google; Stitch, Claude Code, dan Cursor membacanya
10 kB
tokens.json
W3C Design Tokens (DTCG) untuk Style Dictionary dan plugin Figma
6,5 kB
tokens.css
Nilai yang sama sebagai CSS custom property
1,6 kB
tailwind.css
Blok @theme Tailwind v4
959 byte
SKILL.md
Skill Claude Code / Cursor yang mengurutkan isi paket untuk agen
2,2 kB
BEHAVIOR.md
Hover, fokus, tooltip, menu, animasi, scrolling, tabel, formulir, teks, responsif, mode gelap, stack
9,4 kB
evidence.json
Pengukuran mentah di balik kedua dokumen (setiap viewport, probe, dan aturan)
54 kB
screenshots/
desktop-1440-fold.png, desktop-1440-full.jpg, laptop-1024-fold.png, tablet-768-fold.png, phone-390-fold.png, phone-390-full.jpg
6 gambar
DESIGN.md238 baris
---
version: alpha
name: "slack.com"
description: "Design system extracted from https://slack.com/ on 2026-09-28"
colors:
  background: "#ffffff"
  surface: "#f9f0ff"
  foreground: "#000000"
  muted-foreground: "#181818"
  primary: "#730394"
  on-primary: "#ffffff"
  secondary: "#0b5cab"
  border: "#f3f3f3"
typography:
  headline-display:
    fontFamily: "Salesforce-Avant-Garde"
    fontSize: "64px"
    fontWeight: 700
    lineHeight: "1.06"
    letterSpacing: "-0.768px"
  headline-lg:
    fontFamily: "Salesforce-Avant-Garde"
    fontSize: "32px"
    fontWeight: 700
    lineHeight: "1.25"
    letterSpacing: "-0.384px"
  headline-md:
    fontFamily: "Salesforce-Avant-Garde"
    fontSize: "24px"
    fontWeight: 700
    lineHeight: "1.25"
    letterSpacing: "-0.096px"
  body-md:
    fontFamily: "Salesforce-Sans"
    fontSize: "16px"
    fontWeight: 400
    lineHeight: "1.56"
    letterSpacing: "-0.0192px"
  label-md:
    fontFamily: "Salesforce-Sans"
    fontSize: "12px"
    fontWeight: 700
    lineHeight: "1.33"
  button:
    fontFamily: "Salesforce-Sans"
    fontSize: "16px"
    fontWeight: 700
    lineHeight: "1.38"
rounded:
  none: "0px"
  sm: "4px"
  xl: "16px"
  full: "9999px"
  2xl: "32px"
spacing:
  unit: "4px"
  1: "4px"
  2: "8px"
  3: "12px"
  4: "16px"
  5: "20px"
  6: "24px"
  7: "32px"
  8: "40px"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "4px"
    height: "42px"
    padding: "12px 16px"
  button-secondary:
    backgroundColor: "#ffffff"
    textColor: "#730394"
    typography: "{typography.button}"
    rounded: "4px"
    height: "57px"
    padding: "19px 40px"
  button-ghost:
    backgroundColor: "#ffffff"
    textColor: "#000000"
    typography: "{typography.button}"
    rounded: "4px"
    height: "32px"
    padding: "0px 40px"
  card:
    backgroundColor: "#ffffff"
    rounded: "16px"
    padding: "0px"
---

# slack.com

## Overview

Slack | AI Work Platform & Productivity Tools: Boost productivity and save time with Slack‌ — ‌the AI work platform for managing projects, automating workflows, and connecting teams securely. Start working smarter today.

Sharp, squared-off controls, layered shadows for depth, large display type at 64px / 700, a single violet accent on neutrals. The site ships in light mode by default. Measured from 2282 rendered elements at 1440px wide on 2026-09-28.

Reference screenshots live beside this file; look at them before writing any layout, they carry the composition, density and image treatment that tokens cannot:

- `screenshots/desktop-1440-fold.png`: Desktop 1440, above the fold
- `screenshots/desktop-1440-full.jpg`: Desktop 1440, full page
- `screenshots/laptop-1024-fold.png`: Laptop 1024, above the fold
- `screenshots/tablet-768-fold.png`: Tablet 768, above the fold
- `screenshots/phone-390-fold.png`: Phone 390, above the fold
- `screenshots/phone-390-full.jpg`: Phone 390, full page

## Colors

| Token | Value | Use |
| --- | --- | --- |
| background | `#ffffff` | Page background |
| surface | `#f9f0ff` | Cards, panels, raised or recessed surfaces |
| foreground | `#000000` | Primary text |
| muted-foreground | `#181818` | Secondary text, captions |
| primary | `#730394` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| secondary | `#0b5cab` | Secondary accent (blue) |
| border | `#f3f3f3` | Hairlines, dividers, input borders |

Full painted palette by area (largest first): `#ffffff`, `#481a54`, `#f9f0ff`, `#808080`, `#730394`, `#2e0039`.

Gradients in use: `linear-gradient(rgb(249, 240, 255) 5%, rgb(255, 255, 255) 10%)`; `linear-gradient(rgba(29, 28, 29, 0) 22.75%, rgba(29, 28, 29, 0.06) 28.48%, rgba(29, 28, 29, 0.12) 34.34%, rgba(29, 28, 29, 0.25) 42.06%, rgba(29, 28, 29, 0.38) `; `linear-gradient(rgb(72, 26, 84) 0%, rgb(115, 3, 148) 35.2%, rgb(150, 2, 199) 80%, rgb(209, 125, 254) 100%)`.

The accent `#730394` is used sparingly: primary buttons, links and focus rings. Everything else stays neutral.

## Typography

- **Salesforce-Avant-Garde** for h1, h2, h3: self-hosted webfont, not freely available; use **Inter** from Google Fonts as the stand-in.
- **Salesforce-Sans** for body, label, button: self-hosted webfont, not freely available; use **Inter** from Google Fonts as the stand-in.

| Role | Family | Size | Weight | Line height | Tracking |
| --- | --- | --- | --- | --- | --- |
| headline-display | Salesforce-Avant-Garde | 64px | 700 | 1.06 | -0.768px |
| headline-lg | Salesforce-Avant-Garde | 32px | 700 | 1.25 | -0.384px |
| headline-md | Salesforce-Avant-Garde | 24px | 700 | 1.25 | -0.096px |
| body-md | Salesforce-Sans | 16px | 400 | 1.56 | -0.0192px |
| label-md | Salesforce-Sans | 12px | 700 | 1.33 | normal |
| button | Salesforce-Sans | 16px | 700 | 1.38 | normal |

Type scale in use: 12px, 14px, 15px, 16px, 18px, 24px, 32px, 50px, 64px. Base body size 16px.

The H1 renders at 64px / 700, center aligned, up to 923px wide, tracking -0.768px. Sample: "All your people and AI agents working together".

## Layout

- Spacing unit: 4px. Scale in use: 4, 8, 12, 16, 20, 24, 32, 40 (px).
- Flex and grid gaps: 4, 8, 12, 16, 24, 28, 32, 72 px.
- Content max width: 1230px, centred.
- Breakpoints: 425px, 426px, 550px, 896px, 1280px.
- Header: 0px tall, static, background `rgba(0, 0, 0, 0)`; 12 nav links at 0px / 400 (ChannelsOrganize teams and work · Slack ConnectWork with external partners · MessagingChat with your team · HuddlesMeet with audio and video · ClipsRecord and share updates · Salesforce in SlackBring Salesforce into the flow of work · Slack CRM for Small BusinessManage customers in Slack with the help of Slackbot · TemplatesStart any task, fast).

## Elevation & Depth

Shadows in use, most common first:

- shadow-1: `rgba(255, 255, 255, 0.25) 0px 0px 0px 1px inset`
- shadow-2: `rgba(0, 0, 0, 0.1) 0px 0px 16px 0px`
- shadow-3: `rgb(115, 3, 148) 0px 0px 0px 1px inset`
- shadow-4: `rgba(24, 24, 24, 0.1) 0px 0px 32px 0px`

## Shapes

- Buttons: 4px
- Inputs: 4px
- Cards and panels: 16px
- Images and media: 0px
- Radius scale: none 0px, sm 4px, xl 16px, full 9999px, 2xl 32px

## Components

### Button, primary

Background `#730394`, text `#ffffff`, border none, radius 4px, height 42px, padding 12px 16px, 14px / 700, uppercase. Sample label: "Get started".

### Button, secondary

Background `#ffffff`, text `#730394`, border none, radius 4px, height 57px, padding 19px 40px, 14px / 700, uppercase, shadow `rgb(115, 3, 148) 0px 0px 0px 1px inset`. Sample label: "Find your plan".

### Button, ghost

Background transparent (it sits on `#ffffff`, so place it on that colour), text `#000000`, border none, radius 4px, height 32px, padding 0px 40px, 14px / 400. Sample label: "Pause animationPlay anim".

### Card

Background `#ffffff`, border 1px solid #f3f3f3, radius 16px, padding 0px, no shadow. Typical size about 400×440px.

### Link

Colour `#1d1d1d`, no underline at rest, weight 700.

## Dark Mode

No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.

## Responsive Behavior

| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 1230px | 259px | 16px | 64px, 2 lines, center | 0px, 5 links, 1 CTA | media below text | 2→1 col; 2→2 col; 2→1 col | content-width |
| laptop 1024px | 942px | 159px | 16px | 48px, 2 lines, center | 0px, hamburger (Menu), 1 CTA | media below text | 5→1 col; 2→1 col; 2→2 col | 3 full-width |
| tablet 768px | 707px | 119px | 16px | 32px, 2 lines, center | 0px, hamburger (Menu), 1 CTA | media below text | 5→5 col; 2→1 col; 3→3 col | 8 full-width |
| phone 390px | 359px | 60px | 16px | 32px, 3 lines, center | 0px, hamburger (Menu), 1 CTA | media below text | 5→5 col; 2→1 col; 3→1 col | 10 full-width |

- H1 goes 64px → 32px (50%), 2 → 3 lines.
- Nav collapses to a hamburger by 390px (first seen at 1024px); header 0px → 0px.
- Card grids: 1 columns → 1 column on phones (gap 24px → 24px).
- Body text stays 16px at every width.
- Phone side gutter 60px.
- 10 buttons stretch full-width on phones.
- Section top padding 190px → 190px.

## Interaction & Motion

109 elements carry transitions; typical 0.42s with cubic-bezier(0.165, 0.84, 0.44, 1), mostly on opacity, transform, box-shadow. 2 running keyframe animations (onetrust-fade-in 0.4s 1; delayBackgroundSwap 0.001s 1).

- Hover on button-primary ("Get started"): background #730394 → #481a54; cursor pointer; transition box-shadow, color, background | 0.42s, 0.42s, 0.42s | cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.165, 0.84, 0.44, 1) | delay 0s, 0s, 0s.
- Hover on button-secondary ("Get started"): background #730394 → #481a54, border #ffffff → #481a54; cursor pointer; transition box-shadow, color, background | 0.42s, 0.42s, 0.42s | cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.165, 0.84, 0.44, 1) | delay 0s, 0s, 0s.
- Hover on nav-link ("Enterprise"): no visible change; cursor pointer.
- Focus on button-primary: outline 2px dotted rgb(115, 3, 148), offset 5px.
- Tooltip triggers exist (18 × aria-describedby, 40 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- 14 aria-haspopup triggers exist; none opened on hover (click-to-open menus).
- 7 sizable elements sit at opacity 0 before scrolling: scroll-reveal animations are in use (reveal on enter, fade + rise is the usual recipe).

Full detail (every overlay, table, form, scroll and text rule measured) is in `BEHAVIOR.md`; raw evidence in `evidence.json`.

## Do's and Don'ts

- Do use 4px multiples for every padding, margin and gap; the site does not use odd values.
- Do reserve `#730394` for actions and focus; never paint large areas with it.
- Do keep body text at 16px in Salesforce-Sans and headings in Salesforce-Avant-Garde.
- Do match corner radii per element class (buttons 4px, cards 16px); do not pick one radius for everything.
- Do use the measured shadows above; do not invent heavier ones.
- Don't substitute a different accent hue or introduce gradients that are not listed above.
- Don't rebuild from the tokens alone; open the screenshots for composition, density and image treatment.