---
name: interface-design
description: >-
  Use when designing, building or reviewing product UI (dashboards, admin
  panels, SaaS app screens, settings, and in-page product mockups) where
  hierarchy, tokens, states and craft matter. Not for the marketing page itself.
---
# Interface Design (condensed)

Source: https://interface-design.dev and https://github.com/dammyjay93/interface-design (MIT).

Build product interfaces with the craft of Linear, Vercel and Stripe. If another AI given a similar prompt would produce substantially the same output, you've failed.

## Intent first
- **Who is this human?** Where they are, what they did five minutes ago.
- **What must they accomplish?** The verb.
- **What should it feel like?** Words that mean something.

## Domain exploration
- 5+ concepts from the product's world.
- 5+ colours that exist naturally in that world.
- One signature element that could only exist for this product.
- Name 3 obvious defaults so you can avoid them.
Test: remove the product name; can you still tell what it's for?

## Visual hierarchy
- **One focal point per view.**
- Type scale as a ratio (~1.25 for product UI).
- Weight and colour beat size (600 primary, 500 secondary, 400 muted).
- Density is a decision in px; pick and hold it.
- Group tightly, then real air between groups.
- ~60/30/10 neutral/secondary/accent; one accent used with intention.

## Craft foundations
- Whisper-quiet surface steps; low-opacity borders.
- Choose ONE depth strategy and commit.
- Radius scale: small for inputs, medium for cards, large for modals.
- Token names that evoke the product's world (`--ink`, `--parchment`), not `--gray-700`.
- Tabular numbers; every state (hover, focus, disabled, loading, empty, error); 44×44 hit areas.

## Motion
Under 300ms, ease-out, press `scale(0.97)`, transform and opacity only, respect reduced motion. Actions repeated 100+ times a day get no animation.

## Avoid
Harsh borders, dramatic surface jumps, flat hierarchy, mixed depth strategies, missing states, large radius on small elements, decorative gradients, multiple accents, default Inter where a direction was set.

## Checks before showing
Swap test, squint test, signature test (point to 5 places it appears), token test.
