Skip to content
Frontend
Skill

/gpui-kit-design-guides

The normative Design Guides for GPUI Kit desktop applications. Read in full before designing or changing any screen, layout, spacing, visual hierarchy, color, density, component choice, interaction state, overlay, motion, data-heavy view, or interface copy in a GPUI Kit

From plugin
gpui-kit
21k2 skills1 command

Claude Code

$ npx -y skills add longbridge/gpui-kit --skill gpui-kit-design-guides --agent claude-code

SKILL.md

gpui-kit-design-guides.SKILL.md
name: gpui-kit-design-guides
description: The normative Design Guides for GPUI Kit desktop applications. Read in full before designing or changing any screen, layout, spacing, visual hierarchy, color, density, component choice, interaction state, overlay, motion, data-heavy view, or interface copy in a GPUI Kit (gpui-kit / gpui-component) application, and before reviewing UI work for design quality. Also use when asked what the design rules are, or whether a UI decision follows them.

GPUI Kit Design Guides

The guide is [references/design-guides.md](references/design-guides.md). It is a requirement, not inspiration. Read the guide file itself before doing UI work. Do not answer from this page, from an existing screen in the codebase, or from training data.

If the file is missing, fetch `https://gpui-kit.com/docs/design-guides.md`. The guide is a verbatim copy of that page, so its link to `./coding-guides.md` means the Coding Guides in the `gpui-kit` skill (or `https://gpui-kit.com/docs/coding-guides.md`).

How to read it

Read the whole guide for a new screen or a redesign. For a narrow change, read "Design thesis" and "Start from the task" first, then the section for the change. Sections, in order (`grep -n '^## ' references/design-guides.md`):

| Section | Read when | | ------------------------------------ | ---------------------------------------------------------------------- | | Design thesis | Always | | Learning from Shadcn | Choosing what to borrow from web component libraries | | Start from the task | Always; task hierarchy, interaction promise, what to leave out | | Visual language | Color, typography, spacing, radius, borders, elevation, density, icons | | Layout patterns | Window structure, sidebars, toolbars, panels, forms, resizable regions | | Components and composition | Picking a component, composing parts, when to build a new one | | Interaction states | Hover, focus, pressed, selected, disabled, loading, validation, danger | | Feedback and overlays | Dialog, sheet, popover, menu, notification, tooltip, dismissal, focus | | Motion | Any animation or transition | | Designing data-heavy interfaces | Tables, lists, trees, dashboards, dense inspectors | | Interface language | Any user-facing text: labels, buttons, titles, errors, empty states | | Internationalization and platform fit | Multi-locale copy, Chinese terminology, macOS/Windows conventions | | Guidance for AI-generated interfaces | Always when an agent produces UI | | Accessibility checklist | Before finishing | | Design review checklist | Before finishing; run every item against the work |

Non-negotiables

A floor, not a substitute for the guide.

  • **Desktop before web convention.** Keyboard access, window chrome, menus,

dense data views, resizable regions, persistent navigation.

  • **`Button` vs `Link`.** `Button` for every in-app command, `ghost` or

`outline` when it should read quietly. `Link` only for external URLs and email addresses.

  • **Tokens before values.** No raw hex or `rgb(...)`; use `cx.theme()`

semantic tokens and rem-based helpers. Any spacing number quoted in the guide is the current default scale, not a literal to repeat.

  • **State must be visible.** Hover, focus, selection, disabled, loading,

validation, and destructive states each need distinct, consistent treatment.

  • **Overlays.** Escape dismisses the topmost surface and returns focus to its

trigger.

  • **Copy.** Name the object and the verb: `Delete "Roadmap"?` with a `Delete`

button, not `Are you sure?` with `OK`.

Finish by running the Design review checklist against the work.

Read more
@longbridge
Ships withgpui-kit

Rust GUI components for building fantastic cross-platform desktop application by using GPUI.

Stars on GitHub

Momentum

stars in total
20.6k
Star history of longbridge/gpui-component on GitHub, a chart by star-history.com

Other skills on gpui-kit.

gpui-kit

gpui-kit

How to build desktop applications with GPUI Kit, the Rust framework published as the gpui-kit crate (GPUI plus…

@longbridge@longbridgeInstall Skill

More skills from other plugins.

next-bundle-optimizer
Auto-invoked

next-bundle-optimizer

Audit and reduce Next.js browser initial-load work. Use for slow route startup, oversized client bundles, duplicate browser…

nextjs4d143k
@vercel@vercelInstall Skill
migrate-radix-to-base

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert…

ui13d127k
@shadcn-ui@shadcn-uiInstall Skill
chrome-release-cls

chrome-release-cls

Given a Chrome Releases blog post URL (chromereleases.googleblog.com), extract every CVE/bug and find the underlying Gerrit CL…

electron4d124k
@electron@electronInstall Skill
taste-skill
Auto-invoked

taste-skill

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One…

Questions about gpui-kit-design-guides.

Which coding agents can use gpui-kit-design-guides?
gpui-kit-design-guides installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.