Documentation / Product UI

Product UI: apps, dashboards and tools

Load for any logged-in product surface: web apps, dashboards, admin panels, internal tools, settings, editors, developer tools and data-heavy screens.

skills/design-skill/references/product-ui.md

Load for any logged-in product surface: web apps, dashboards, admin panels, internal tools, settings, editors, developer tools and data-heavy screens. Landing pages use visual craft and landing composition instead; ready-made product components live in assets/product.css (see the starter kit). Requirement = correctness/accessibility obligation; Pattern = adaptable starting point; Taste hypothesis = design judgment to validate in context.

Product UI is used daily, for hours, by people trying to finish work. Optimise for speed of recognition, density that matches the task, predictable placement and recoverable actions. Expressiveness belongs in onboarding, empty states and moments of success, not in every panel.

1. Start from the job

Name the primary loop

  • Confidence Level: Requirement
  • Purpose: Make the screen serve the work it exists for.
  • Reasoning: Most product screens fail by showing everything at equal weight; users then hunt for the one thing they came to do.
  • Constraint: Before layout, write one sentence: "A [role] opens this to [verb] [object] and leaves when [done condition]." Lead the screen with the object of that verb (the queue, the document, the failing check), and keep the primary action within one click of it. Secondary information goes to a side panel, a tab or a details view.
  • Example:
    • Bad: A dispatcher dashboard opens on four KPI tiles, a revenue chart and a welcome banner; late deliveries are three scrolls down.
    • Good: The same dashboard opens on "4 deliveries need attention", sorted by lateness, with Reassign inline; KPIs sit in a compact strip above.
  • Exceptions: Executive reporting screens whose job really is the overview.

Choose a density mode

  • Confidence Level: Pattern
  • Purpose: Match spacing to how often and how long people use the screen.
  • Reasoning: Marketing spacing (120px sections, 48px buttons) wastes the screen in a daily tool; cramped density tires occasional users.
  • Constraint: Pick one mode per surface and apply it consistently.
Mode Use for Body / label Control height Table row Panel padding Gaps
Comfortable Consumer apps, onboarding, settings, occasional use 15–16px / 14px 40px 52–56px 24px 16–24px
Default Most SaaS and admin 14px / 13–14px 36px 44–48px 16–20px 12–16px
Compact Ops consoles, trading, logs, spreadsheets, IDE-like tools 13px / 12–13px 28–32px 32–36px 12px 8px
  • Example:
    • Bad: A log viewer with 56px rows showing nine lines per screen.
    • Good: The log viewer at 32px rows in a monospace column, with a density toggle for people who want more air.
  • Exceptions: Touch-first products keep 44px targets regardless of mode.

2. The app shell

Shell anatomy

  • Confidence Level: Pattern
  • Purpose: Give every screen the same predictable frame.
  • Reasoning: People navigate by position. A shell that shifts between pages forces them to re-read it.
  • Constraint: Sidebar 240–280px expanded (56–64px collapsed, icons with tooltips and accessible names), top bar 48–56px with page title, breadcrumbs when hierarchy is deeper than two levels, and page actions on the right. Content area scrolls independently; the shell does not. Keep the primary navigation to 5–9 top-level destinations, grouped with small muted section labels. Put account, workspace switcher and settings at the sidebar's top or bottom, never mixed into feature navigation. Mark the current destination with background tint plus weight or an indicator, and aria-current="page".
  • Example:
    • Bad: 22 flat sidebar links, the current page shown only by a colour change, page actions floating in different spots per screen.
    • Good: Six grouped destinations, a tinted current row, title and actions in a consistent top bar.
  • Exceptions: Single-purpose tools (an editor, a canvas) may hide the shell to maximise the work area, with a clear way back.

Mobile shell

  • Confidence Level: Requirement
  • Purpose: Keep every destination reachable on small screens.
  • Reasoning: A squeezed desktop sidebar either covers content or disappears.
  • Constraint: Below about 768px, move navigation into a drawer opened from the top bar (focus trapped, Escape closes, focus returns to the trigger), or a bottom tab bar of at most five destinations for consumer apps. Tables become stacked cards or keep a scoped horizontal scroll with the key column sticky. Page actions collapse into one primary button plus an overflow menu.
  • Exceptions: Desktop-only internal tools may state their supported widths, but must still not break at zoom.

3. Common screens

Dashboards

  • Confidence Level: Pattern
  • Purpose: Turn numbers into a decision.
  • Reasoning: Dashboards default to a wall of equal tiles; nobody knows which number matters.
  • Constraint: Order by decision: exceptions and alerts first, then the few metrics that indicate health, then trends, then reference detail. Each KPI shows value, unit, comparison period and direction with text (not colour alone), for example "↑ 12% vs last week". Use a sparkline only when the shape matters. Two to five KPIs is typical; no fixed count. Every chart answers a question written as its title ("Signups are flat since the pricing change"), or a neutral label when the reader must judge. Link each tile to the list behind it. Read data visualization for charts.
  • Example:
    • Bad: Eight identical tiles with icons in coloured circles and no comparison.
    • Good: "3 invoices overdue" with a Review action, then MRR, churn and active seats with week-over-week deltas.
  • Exceptions: Wallboards viewed from a distance use larger type and fewer items.

Lists and tables

  • Confidence Level: Requirement
  • Purpose: Make records scannable, comparable and actionable.
  • Reasoning: Tables are where product users spend most of their time; small inconsistencies multiply across hundreds of rows.
  • Constraint: Use a real <table> with <th scope="col"> for tabular data. Left-align text, right-align numbers and use font-variant-numeric: tabular-nums; align headers with their column content. Keep the identifying column first and sticky when scrolling horizontally; make the header sticky when scrolling vertically. Show sort state with an icon and aria-sort. Row hover is a subtle tint; selected rows use a stronger tint plus a checkbox. Bulk actions appear in a bar when rows are selected, stating the count. Truncate long text with an ellipsis and a full-value tooltip or title only when the full value is also reachable elsewhere. Provide loading (skeleton rows at real row height), empty (explain and offer the next action) and error (what failed, Retry) states. Paginate or virtualise beyond a few hundred rows; state the range ("1–50 of 1,284").
  • Example:
    • Bad: Centered columns, proportional digits that jitter, a spinner replacing the whole table on every sort.
    • Good: Right-aligned tabular amounts, sticky customer column, rows dimmed during refetch while keeping their position.
  • Exceptions: Card lists suit visual objects (files with previews, products, people with photos).

Detail views and side panels

  • Confidence Level: Pattern
  • Purpose: Inspect or edit one record without losing the list.
  • Reasoning: Full-page navigation for every record breaks flow in triage work.
  • Constraint: Use a right side panel (400–560px) for quick inspect/edit from a list, a full page for complex records with their own sub-navigation. Panels have a title, a close button, keyboard Escape, and keep the URL addressable when the record should be shareable. Put the record's status and primary action at the top; metadata in a two-column label/value list; activity history at the bottom.
  • Exceptions: Mobile always uses a full screen.

Settings

  • Confidence Level: Pattern
  • Purpose: Make configuration safe and findable.
  • Reasoning: Settings accumulate; without structure they become a junk drawer.
  • Constraint: Group by object (Profile, Workspace, Billing, Notifications, Security, Integrations) in a secondary nav. Each setting is label, one-line description of the consequence, then control. Choose one save model per page: instant save with a small "Saved" confirmation for toggles, or an explicit Save bar that appears when the form is dirty and warns on navigation away. Put destructive actions in a separated "Danger zone" with a confirmation that names the object (type the project name for irreversible deletes).
  • Exceptions: Very small settings surfaces can be a single page.

Onboarding and empty states

  • Confidence Level: Pattern
  • Purpose: Turn the first blank screen into the first success.
  • Reasoning: An empty product looks broken; a wizard that blocks exploration feels like a toll gate.
  • Constraint: Empty states say what will appear here, why it is empty, and offer the one action that fills it (plus import or sample data where useful). Distinguish first-use empty, no-results-for-filter (offer Clear filters) and error-empty. Prefer progressive checklists over blocking multi-step tours; let people skip. Illustrations are optional and should be small.
  • Exceptions: Regulated setup (KYC, payments) that must complete before use.

Command palette and shortcuts

  • Confidence Level: Pattern
  • Purpose: Give frequent users speed without hiding features from new ones.
  • Reasoning: Power users live on the keyboard; shortcuts nobody can discover are dead weight.
  • Constraint: Cmd/Ctrl+K opens a palette that searches navigation, records and actions, with arrow keys, Enter, Escape and a visible shortcut hint per item. Show shortcuts in tooltips and menus with <kbd>. Never override browser or screen-reader shortcuts; single-key shortcuts must be disableable or only active when a component has focus (WCAG 2.1.4). Provide a "?" shortcut sheet in keyboard-heavy tools.
  • Exceptions: Simple consumer apps may not need a palette.

4. Feedback and system status

Make every action answer

  • Confidence Level: Requirement
  • Purpose: Let people trust what the system did.
  • Reasoning: Silent saves and spinners without end are the main source of "did that work?" anxiety.
  • Constraint: Respond within 100ms (pressed state, optimistic change or inline spinner). Over about 1s show progress in place; over about 10s allow leaving and notify on completion. Use inline confirmation near the control for small actions, a toast (4–6s, pausable, not the only record of errors) for background completion, and a banner for persistent conditions (offline, trial ending, degraded service). Offer Undo for reversible destructive actions instead of a confirm dialog. Use role="status" or aria-live="polite" for non-urgent announcements and role="alert" only for urgent errors.
  • Example:
    • Bad: "Are you sure?" before archiving an email, then nothing visible happens.
    • Good: The email archives instantly with "Archived · Undo" for six seconds.
  • Exceptions: Irreversible or costly actions (payments, deletion of shared data) need explicit confirmation.

Status, badges and permissions

  • Confidence Level: Pattern
  • Purpose: Communicate state without noise.
  • Reasoning: When every row has three coloured pills, none of them stands out.
  • Constraint: Badges are small (20–24px high, 12px text), use a tinted background with a readable text colour, and always include a word. Reserve saturated colour for states that need action. Show disabled controls with a reason (tooltip or helper text) when a permission or plan limit blocks them, or hide controls the user can never use.
  • Exceptions: Dense monitoring views may use a dot plus label.

5. Product craft checklist

Inspect real renders at 1440px, 1024px and 390px, light and dark where supported:

  1. The primary loop is visible without scrolling and its action is one click away.
  2. One density mode applied consistently; control heights match across buttons, inputs and selects.
  3. Shell does not shift between pages; current location is marked and announced.
  4. Numbers are right-aligned and tabular; units and comparison periods are present.
  5. Every list has loading, empty, no-results and error states with geometry that does not jump.
  6. Every action gives feedback within 100ms; long work shows progress; errors say how to recover.
  7. Destructive actions offer Undo or a confirmation naming the object.
  8. Keyboard: tab order follows layout, focus is visible, Escape closes overlays, palette and shortcuts work.
  9. Disabled controls explain why.
  10. Mobile: navigation reachable, tables readable, primary action reachable by thumb.

Report which checks were inspected in a real render and which were not.

Guides & section titles

IntroductionWhat Design Skill does and when to use it.What is Design Skill?IntroductionHow to think about itIntroductionStart buildingIntroductionInstallationAdd Design Skill to your coding assistant.Install with the skills CLIInstallationInstall from a local checkoutInstallationVerify the installationInstallationDesign workflowFrom understanding the product to inspecting the result.Understand and chooseDesign workflowCompose and expressDesign workflowBuild and interactDesign workflowVerify and reviseDesign workflowCommands & promptsWays to ask your assistant to use Design Skill.Request conventionsCommands & promptsAn example briefCommands & promptsGuidance & exceptionsUnderstand requirements, patterns and design judgment.Instruction rolesGuidance & exceptionsWhen to break a patternGuidance & exceptionsResearch with referencesGuidance & exceptionsSkill filesRead the actual Markdown included in the skill.Explore the sourceSkill filesLoad guidance selectivelySkill filesSkill libraryEvery file in the skill, rendered from the same Markdown and CSS your assistant reads.Start hereSkill libraryDirection & compositionSkill libraryVisual craftSkill libraryProduct UISkill libraryBuild & behaviorSkill libraryQualitySkill libraryCSS kitsSkill libraryCustomizationAdapt Design Skill to your brand and project.Bring your own directionCustomizationWrite useful constraintsCustomizationPair with Glaze componentsCustomizationTroubleshootingResolve installation, discovery and output issues.The assistant cannot find Design SkillTroubleshootingThe result feels genericTroubleshootingCopy or theme is unavailableTroubleshootingVerificationCheck the implementation and report evidence honestly.Before shippingVerificationEvaluating the skillVerificationCurrent evidence limitsVerificationSources & licenseAttribution, license and reference use.Source acknowledgmentsSources & licenseMIT licenseSources & licenseSKILL.mdThe entry point: workflow, instruction roles, what to load when and the four request modes.Instruction rolesSKILL.mdWorkflowSKILL.mdLoad selectivelySKILL.mdCommands (assistant request conventions)SKILL.mdCoherence without samenessSKILL.mdCategory playbookLoad at the start of any landing, marketing or brand page.Technical productsCategory playbookConsumer apps and servicesCategory playbookCommerceCategory playbookLocal businesses and servicesCategory playbookCreative work and peopleCategory playbookEvents, community and causesCategory playbookCombining rowsCategory playbookStyle directionsLoad after the category playbook suggests directions, or whenever a page needs a defined look.1. Clean productStyle directions2. Dark technicalStyle directions3. Luminous AIStyle directions4. EditorialStyle directions5. Warm organicStyle directions6. Luxury refinedStyle directions7. Bold expressiveStyle directions8. PlayfulStyle directions9. Brutalist rawStyle directions10. Retro nostalgicStyle directions11. Trust and clarityStyle directions12. Cinematic immersiveStyle directions13. Commerce catalogStyle directionsLanding page compositionLoad when building or redesigning a landing, marketing, launch or waitlist page.Pick one hero patternLanding page compositionHero anatomyLanding page compositionSection libraryLanding page compositionBento gridsLanding page compositionKeep it honestLanding page compositionLanding-page reference researchLoad when exploring reference libraries or real landing pages to inform a composition.Research the question, not the trendLanding-page reference researchTranslate observation into a decisionLanding-page reference researchCompose around evidenceLanding-page reference researchKeep rights separate from inspirationLanding-page reference researchOptional research sourcesLanding-page reference researchDirection, composition and assetsLoad when choosing a visual direction, comparing compositions or sourcing images, fonts and other assets.Compare meaningful directionsDirection, composition and assetsChoose a personality carrierDirection, composition and assetsUse references responsiblyDirection, composition and assetsComposition and layoutLoad when setting hierarchy, proportions, density and depth on any screen.Compose before polishingComposition and layoutCoherent roles, varied screensComposition and layoutDepth must preserve usabilityComposition and layoutVisual craft baselineLoad for any marketing page, landing page, portfolio or product screen where visual quality matters, and whenever the project has no established design system.1. TypographyVisual craft baseline2. Space and layoutVisual craft baseline3. SurfacesVisual craft baseline4. ColourVisual craft baseline5. ControlsVisual craft baseline6. The visualVisual craft baseline7. Motion detailVisual craft baseline8. Craft checklist before shippingVisual craft baselineStarter kitLoad when building a landing page, marketing page or product screen without an existing design system.TokensStarter kitComponentsStarter kitHero markupStarter kitSectionsStarter kitProduct kitStarter kitTailwind mappingStarter kitAfter buildingStarter kitTypographyLoad when choosing typefaces, setting type hierarchy and rhythm, or loading fonts.Choose for actual contentTypographySet hierarchy and rhythmTypographyLoad fonts responsiblyTypographyColor roles and contrastLoad when defining colour roles, palettes, contrast or light and dark themes.Choose roles before countsColor roles and contrastMeasure contrast in contextColor roles and contrastDeliberate themesColor roles and contrastBuild palettes systematicallyColor roles and contrastDesign tokens, theming and dark modeLoad when setting up or extending a design system, adding dark mode or themes, mapping a design into Tailwind/shadcn/CSS variables, or auditing hard-coded values.1. Token architectureDesign tokens, theming and dark mode2. Colour scalesDesign tokens, theming and dark mode3. Dark modeDesign tokens, theming and dark mode4. Mapping tokens into common stacksDesign tokens, theming and dark mode5. Tokens checklistDesign tokens, theming and dark modeIcons, images and mediaLoad when choosing icons, placing photography, screenshots, logos, avatars, video or illustration, and when optimising media.1. IconsIcons, images and media2. Images and photographyIcons, images and media3. Logos, avatars and brand marksIcons, images and media4. Delivering mediaIcons, images and media5. Media checklistIcons, images and mediaBackgrounds and surfacesLoad when choosing page surfaces, background imagery, gradients or textures.Choose from the contentBackgrounds and surfacesLayer without obscuringBackgrounds and surfacesProduct UI: apps, dashboards and toolsLoad for any logged-in product surface: web apps, dashboards, admin panels, internal tools, settings, editors, developer tools and data-heavy screens.1. Start from the jobProduct UI: apps, dashboards and tools2. The app shellProduct UI: apps, dashboards and tools3. Common screensProduct UI: apps, dashboards and tools4. Feedback and system statusProduct UI: apps, dashboards and tools5. Product craft checklistProduct UI: apps, dashboards and toolsForms, input and validationLoad for sign-up, checkout, settings, onboarding, search, filters, multi-step flows and any screen where people type or choose.1. FieldsForms, input and validation2. ValidationForms, input and validation3. Structure and flowForms, input and validation4. Special inputsForms, input and validation5. Forms checklistForms, input and validationData visualizationLoad for charts, KPI tiles, sparklines, maps, reports and any screen that turns numbers into a judgment.1. Choose the form from the questionData visualization2. Encoding and honestyData visualization3. Colour for dataData visualization4. Numbers and labelsData visualization5. Interaction and accessData visualization6. Data visualization checklistData visualizationComponents and interaction statesLoad when designing or reviewing individual components and their interaction states.Choose structure from the taskComponents and interaction statesState behavior is part of designComponents and interaction statesFocused patterns (adapt to actual content)Components and interaction statesUX writing and contentLoad whenever the interface has words: headlines, buttons, labels, errors, empty states, notifications, onboarding, pricing and confirmation dialogs.1. Real words firstUX writing and content2. Interface textUX writing and content3. Voice, tone and formatUX writing and content4. Internationalisation-ready copyUX writing and content5. UX writing checklistUX writing and contentFunctioning implementationLoad when building UI in code: states, data flow, persistence and project boundaries.Build the whole relevant flowFunctioning implementationKeep state and response coherentFunctioning implementationRespect provenance and project boundariesFunctioning implementationConditional stack guidanceLoad when the work touches a specific stack such as React, Next.js, Vue, Svelte, Tailwind or shadcn/ui.Use the actual projectConditional stack guidanceFramework-specific implementationConditional stack guidanceInteraction and motionLoad when adding transitions, animation, gestures or any movement.Decide whether to animateInteraction and motionHandle interruption and originsInteraction and motionGestures and reduced motionInteraction and motionMeasure animation performanceInteraction and motionResponsive behaviorLoad when making layouts work across widths, zoom levels, touch and long content.Break at content pressureResponsive behaviorOverflow deliberatelyResponsive behaviorMobile navigation and touchResponsive behaviorAccessibilityLoad for every interface: keyboard, focus, semantics, names, contrast, targets and user preferences.Concrete patternsAccessibilityAccessibility checklistAccessibilityFrontend performanceLoad when building pages that must feel fast, adding fonts, images, video, shaders or heavy client code, or when an audit reports slowness.1. TargetsFrontend performance2. Loading (LCP)Frontend performance3. Stability (CLS)Frontend performance4. Responsiveness (INP)Frontend performance5. Weight and effectsFrontend performance6. Performance checklistFrontend performanceAvoid unconsidered defaultsLoad when output risks looking generic, or when reviewing for unconsidered defaults.Question defaults, not vocabulariesAvoid unconsidered defaultsShow something trueAvoid unconsidered defaultsEarn the decorationAvoid unconsidered defaultsCommon tells of unconsidered outputAvoid unconsidered defaultsVerify rendered resultsLoad before reporting work as done: rendered checks, measurement and honest evidence.Inspect, revise, repeatVerify rendered resultsMeasure and qualifyVerify rendered resultsEvaluate the skill fairlyVerify rendered resultsAudit rubricLoad for /design-skill audit, design reviews, pre-launch checks and "why does this look off?" questions.1. How to auditAudit rubric2. What to scoreAudit rubric3. SeverityAudit rubric4. Report formatAudit rubric5. Quick triage (five-minute pass)Audit rubricstarter.cssLanding-page kit: tokens, header, hero, frames, bento, pricing, FAQ, footer and twelve direction presets.How to usestarter.cssSourcestarter.cssproduct.cssProduct kit: app shell, forms, tables, badges, alerts, tabs, dialogs, toasts, density modes and dark tokens.How to useproduct.cssSourceproduct.css
Tab to move · Enter to open · Esc to close