Design for humans first. The output should feel product-designed, task-oriented, and specific to the interface's job. Avoid the default AI visual language even when it would be faster to generate.
If the request is for a dashboard, admin, workspace, settings area, analytics page, or any internal tool, default to a disciplined product UI instead of a poster-like composition.
Core Standard
Build interfaces that feel normal in the best way:
- clear hierarchy
- predictable layout
- calm color usage
- readable data presentation
- functional interactions
- restrained visual treatment
Think in the direction of mature product teams: precise, sober, and intentional. Do not make the UI perform "premium" with decoration.
Phase 1: Classify The Surface
Before writing code, decide which surface you are building:
- Product UI
- Landing page
- Editorial / showcase surface
- Dashboard
Use the surface type to control layout and styling decisions.
Product UI defaults
Use these when the user asks for a dashboard or app-like interface:
- Use a normal app shell.
- Sidebar only when navigation depth truly needs it.
- Sidebar width should usually stay in the
240px to 260px range.
- Use solid backgrounds and simple separators.
- Use a real toolbar/header, usually
48px to 56px tall.
- Put the main work in the content area, not in decorative wrapper panels.
- Use sections with
20px to 30px padding.
- Prefer tables, lists, timelines, split panes, detail panels, and filters over decorative metric cards.
Landing page defaults
- A landing page may use a hero, but it still needs normal section structure afterwards.
- Use recognizable section types: hero, proof, feature explanation, comparison, CTA.
- Do not invent strange dashboard-like shells for a marketing page.
- Do not fill the page with decorative copy blocks.
Editorial / showcase defaults
- You may push typography and composition further here.
- Keep the interaction model obvious.
- Even in expressive work, avoid AI-default gradients, pill overload, and generic SaaS dark mode.
Phase 2: Information Architecture Before Styling
Define the content hierarchy first:
- What must be understood in five seconds?
- What must be scanned quickly?
- What requires detail on demand?
- Which actions matter most?
Then map those answers to a normal structure.
Recommended dashboard structure
Use this as the default mental model for data-heavy UI:
- app shell
- page header with title and primary actions
- filter / scope controls if needed
- summary row only if it earns its space
- primary work surface: table, timeline, board, chart with labels, detail split, or queue
- secondary context below or beside the main surface
Do not start with a hero panel. Do not add a right rail unless it carries real workflow value.
Phase 3: Uncodixify Rules
If a choice feels like the easiest possible AI UI move, reject it and choose the cleaner option.
Hard bans
- no oversized border radii; most UI should stay within
8px to 12px
- no pill-heavy buttons, tabs, filters, or badges
- no floating glass shells
- no frosted panels as the default visual language
- no soft blue-purple gradients used as taste replacement
- no generic dark SaaS composition
- no dashboard hero sections unless there is a real product reason
- no eyebrow labels above every section
- no tiny uppercase tracked labels as a default hierarchy device
- no decorative copy that explains how clean or focused the UI is
- no fake charts
- no donut charts unless the product specifically requires one
- no metric-card grid as the first instinct
- no dramatic shadows
- no glowing borders
- no transform-based hover choreography
- no sidebar brand block with a decorative logo tile unless the product identity requires it
- no nav badges, "live" pills, or ornamental counters unless they are functional
- no right-side schedule rail added just to fill space
- no repeated panel-on-panel-on-panel nesting
Specific anti-patterns to avoid
- big text on the left plus a floating card on the right as the default hero
- three identical cards in a row with icon, heading, paragraph
- four-item
2 x 2 card grids with identical internal structure
- the same rounded rectangle repeated across sidebar, cards, buttons, and panels
- muted gray-blue text that weakens contrast
- premium dark mode that is really blue-black plus cyan
- section notes, helper blurbs, and mini-manifestos scattered everywhere
- trend text colored green/red without enough context
- status badges on every table cell
- quota and progress panels added without a real workflow reason
Phase 4: Typography
Typography should feel like a product decision, not a template.
Font direction
Avoid:
Inter
Roboto
Arial
Segoe UI
Trebuchet MS
- generic safe default stacks as the main visual decision
- serif-plus-sans pairings used only to fake premium taste
Prefer clear sans families with some personality and strong data readability:
IBM Plex Sans
Source Sans 3
Public Sans
Work Sans
Karla
Plus Jakarta Sans
For dense data or code-like accents, pair with:
IBM Plex Mono
JetBrains Mono
Source Code Pro
Type rules
- Use normal headers:
h1, h2, h3
- Avoid small uppercase labels above headings
- Body text should usually sit around
14px to 16px
- Keep line-height comfortable and contrast strong
- Use weight and spacing to create hierarchy, not decorative labels
- In product UI, one font family is usually enough
Phase 5: Color
Colors should stay calm and should not fight the content.
Palette rules
- Use a restrained token set with clear roles: background, surface, border, text, muted, accent, danger, success
- Prefer charcoals, graphite, olive, rust, sand, oxblood, clay, smoke, or warm neutrals over blue-led palettes
- If using dark mode, keep it muted and neutral rather than neon or glossy
- Accent color should be scarce and meaningful
- Favor strong text contrast over atmospheric haze
Avoid
- blue-purple gradients
- cyan-on-navy startup palettes
- decorative radial glows
- five-accent-color palettes
- accent colors spread across every component
Phase 6: Component Standards
Keep components straightforward and repeatable.
Shell
- sidebar: fixed width, solid fill, border-right, no floating shell
- header: simple title, supporting actions, no decorative eyebrow
- content width: normal container or full app canvas depending on product need
Buttons
- solid or bordered
- radius
8px to 10px
- no pill shapes
- no gradient fills
Cards and panels
- use only when grouping helps comprehension
- radius
8px to 12px
- subtle border
- minimal shadow, if any
- do not wrap every section in a card
Tabs
- simple underline or border indicator
- no pill tab bars
- no sliding background animation
Forms
- label above input
- simple borders
- clear focus ring
- no floating labels
Tables and lists
- left-aligned text
- clear headers
- simple row separators
- subtle hover only
- use badges sparingly
- show state with text first, color second
Icons
- simple and consistent
16px to 20px
- no decorative icon chips unless needed for recognition
Phase 7: Data Visualization And Human Readability
When the UI contains data, optimize for understanding before style.
Prefer these patterns
- table plus filters
- grouped list with totals
- comparison rows
- timelines
- board columns when status flow matters
- split view with list on one side and detail on the other
- annotated charts with axes, labels, and real legends
- stat plus sentence context, instead of stat alone
Use visual emphasis intentionally
- show one primary number only when it actually matters
- use bars, sparklines, or heatmaps only when they clarify change or distribution
- if a chart has no labels, it is probably decoration
- if a panel can be replaced by a sentence and a number, do that
Bans for data surfaces
- no fake activity charts
- no donut plus percentage pairings without decision value
- no three-card KPI strip as the whole story
- no decorative "team focus" or "recent activity" prose blocks
- no dashboards that hide the main dataset below ornamental summary cards
Phase 8: Layout Rhythm
Normal UI does not mean flat or boring. Create structure through hierarchy and contrast, not gimmicks.
Do
- vary section density based on task importance
- let one main surface dominate the page
- use whitespace to separate jobs, not to look expensive
- align content to a clear grid
- keep spacing on a steady scale:
4 / 8 / 12 / 16 / 24 / 32
Do not
- center random blocks while other content hugs the edge
- alternate between unrelated alignment systems
- use dead space as fake sophistication
- overpad everything
- collapse mobile layouts into one long undifferentiated stack
Phase 9: Motion
Motion should be quiet.
- keep transitions around
100ms to 200ms
- prefer color, border, background, and opacity changes
- avoid hover transforms by default
- avoid bouncy or theatrical motion
- use animation only when it improves orientation or feedback
Phase 10: Mobile Behavior
Mobile should preserve the product structure, not merely stack desktop blocks.
- reduce columns carefully
- keep actions reachable
- turn secondary controls into segmented rows, menus, or drawers when needed
- protect tables from accidental overflow
- preserve heading hierarchy and spacing density
- avoid giant empty areas between sections
Phase 11: Build Like A Designer Working From Real Components
- Prefer interfaces that look like they could have been assembled from thoughtful Figma components.
- Use familiar patterns and refine them instead of inventing novelty for its own sake.
- Replicate the discipline of strong product design systems: consistent borders, sizing, spacing, and interaction states.
- If a choice feels flashy but not useful, remove it.
Phase 12: Final Review
Before finishing, check:
- Does this look like a real product UI instead of an AI-generated dashboard?
- Is the main task visible immediately?
- Are the most important data relationships easy to scan?
- Did I avoid eyebrow labels, decorative copy, fake charts, and floating shells?
- Are color, spacing, and radii restrained enough?
- Would this still work if all decorative styling were reduced by half?
If any answer is no, simplify and tighten the interface.
1---2name: frontend-design-173description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.4---56Design for humans first. The output should feel product-designed, task-oriented, and specific to the interface's job. Avoid the default AI visual language even when it would be faster to generate.78If the request is for a dashboard, admin, workspace, settings area, analytics page, or any internal tool, default to a disciplined product UI instead of a poster-like composition.910## Core Standard1112Build interfaces that feel normal in the best way:1314- clear hierarchy15- predictable layout16- calm color usage17- readable data presentation18- functional interactions19- restrained visual treatment2021Think in the direction of mature product teams: precise, sober, and intentional. Do not make the UI perform "premium" with decoration.2223## Phase 1: Classify The Surface2425Before writing code, decide which surface you are building:26271. Product UI282. Landing page293. Editorial / showcase surface304. Dashboard3132Use the surface type to control layout and styling decisions.3334### Product UI defaults3536Use these when the user asks for a dashboard or app-like interface:3738- Use a normal app shell.39- Sidebar only when navigation depth truly needs it.40- Sidebar width should usually stay in the `240px` to `260px` range.41- Use solid backgrounds and simple separators.42- Use a real toolbar/header, usually `48px` to `56px` tall.43- Put the main work in the content area, not in decorative wrapper panels.44- Use sections with `20px` to `30px` padding.45- Prefer tables, lists, timelines, split panes, detail panels, and filters over decorative metric cards.4647### Landing page defaults4849- A landing page may use a hero, but it still needs normal section structure afterwards.50- Use recognizable section types: hero, proof, feature explanation, comparison, CTA.51- Do not invent strange dashboard-like shells for a marketing page.52- Do not fill the page with decorative copy blocks.5354### Editorial / showcase defaults5556- You may push typography and composition further here.57- Keep the interaction model obvious.58- Even in expressive work, avoid AI-default gradients, pill overload, and generic SaaS dark mode.5960## Phase 2: Information Architecture Before Styling6162Define the content hierarchy first:63641. What must be understood in five seconds?652. What must be scanned quickly?663. What requires detail on demand?674. Which actions matter most?6869Then map those answers to a normal structure.7071### Recommended dashboard structure7273Use this as the default mental model for data-heavy UI:7475- app shell76- page header with title and primary actions77- filter / scope controls if needed78- summary row only if it earns its space79- primary work surface: table, timeline, board, chart with labels, detail split, or queue80- secondary context below or beside the main surface8182Do not start with a hero panel. Do not add a right rail unless it carries real workflow value.8384## Phase 3: Uncodixify Rules8586If a choice feels like the easiest possible AI UI move, reject it and choose the cleaner option.8788### Hard bans8990- no oversized border radii; most UI should stay within `8px` to `12px`91- no pill-heavy buttons, tabs, filters, or badges92- no floating glass shells93- no frosted panels as the default visual language94- no soft blue-purple gradients used as taste replacement95- no generic dark SaaS composition96- no dashboard hero sections unless there is a real product reason97- no eyebrow labels above every section98- no tiny uppercase tracked labels as a default hierarchy device99- no decorative copy that explains how clean or focused the UI is100- no fake charts101- no donut charts unless the product specifically requires one102- no metric-card grid as the first instinct103- no dramatic shadows104- no glowing borders105- no transform-based hover choreography106- no sidebar brand block with a decorative logo tile unless the product identity requires it107- no nav badges, "live" pills, or ornamental counters unless they are functional108- no right-side schedule rail added just to fill space109- no repeated panel-on-panel-on-panel nesting110111### Specific anti-patterns to avoid112113- big text on the left plus a floating card on the right as the default hero114- three identical cards in a row with icon, heading, paragraph115- four-item `2 x 2` card grids with identical internal structure116- the same rounded rectangle repeated across sidebar, cards, buttons, and panels117- muted gray-blue text that weakens contrast118- premium dark mode that is really blue-black plus cyan119- section notes, helper blurbs, and mini-manifestos scattered everywhere120- trend text colored green/red without enough context121- status badges on every table cell122- quota and progress panels added without a real workflow reason123124## Phase 4: Typography125126Typography should feel like a product decision, not a template.127128### Font direction129130Avoid:131132- `Inter`133- `Roboto`134- `Arial`135- `Segoe UI`136- `Trebuchet MS`137- generic safe default stacks as the main visual decision138- serif-plus-sans pairings used only to fake premium taste139140Prefer clear sans families with some personality and strong data readability:141142- `IBM Plex Sans`143- `Source Sans 3`144- `Public Sans`145- `Work Sans`146- `Karla`147- `Plus Jakarta Sans`148149For dense data or code-like accents, pair with:150151- `IBM Plex Mono`152- `JetBrains Mono`153- `Source Code Pro`154155### Type rules156157- Use normal headers: `h1`, `h2`, `h3`158- Avoid small uppercase labels above headings159- Body text should usually sit around `14px` to `16px`160- Keep line-height comfortable and contrast strong161- Use weight and spacing to create hierarchy, not decorative labels162- In product UI, one font family is usually enough163164## Phase 5: Color165166Colors should stay calm and should not fight the content.167168### Palette rules169170- Use a restrained token set with clear roles: background, surface, border, text, muted, accent, danger, success171- Prefer charcoals, graphite, olive, rust, sand, oxblood, clay, smoke, or warm neutrals over blue-led palettes172- If using dark mode, keep it muted and neutral rather than neon or glossy173- Accent color should be scarce and meaningful174- Favor strong text contrast over atmospheric haze175176### Avoid177178- blue-purple gradients179- cyan-on-navy startup palettes180- decorative radial glows181- five-accent-color palettes182- accent colors spread across every component183184## Phase 6: Component Standards185186Keep components straightforward and repeatable.187188### Shell189190- sidebar: fixed width, solid fill, border-right, no floating shell191- header: simple title, supporting actions, no decorative eyebrow192- content width: normal container or full app canvas depending on product need193194### Buttons195196- solid or bordered197- radius `8px` to `10px`198- no pill shapes199- no gradient fills200201### Cards and panels202203- use only when grouping helps comprehension204- radius `8px` to `12px`205- subtle border206- minimal shadow, if any207- do not wrap every section in a card208209### Tabs210211- simple underline or border indicator212- no pill tab bars213- no sliding background animation214215### Forms216217- label above input218- simple borders219- clear focus ring220- no floating labels221222### Tables and lists223224- left-aligned text225- clear headers226- simple row separators227- subtle hover only228- use badges sparingly229- show state with text first, color second230231### Icons232233- simple and consistent234- `16px` to `20px`235- no decorative icon chips unless needed for recognition236237## Phase 7: Data Visualization And Human Readability238239When the UI contains data, optimize for understanding before style.240241### Prefer these patterns242243- table plus filters244- grouped list with totals245- comparison rows246- timelines247- board columns when status flow matters248- split view with list on one side and detail on the other249- annotated charts with axes, labels, and real legends250- stat plus sentence context, instead of stat alone251252### Use visual emphasis intentionally253254- show one primary number only when it actually matters255- use bars, sparklines, or heatmaps only when they clarify change or distribution256- if a chart has no labels, it is probably decoration257- if a panel can be replaced by a sentence and a number, do that258259### Bans for data surfaces260261- no fake activity charts262- no donut plus percentage pairings without decision value263- no three-card KPI strip as the whole story264- no decorative "team focus" or "recent activity" prose blocks265- no dashboards that hide the main dataset below ornamental summary cards266267## Phase 8: Layout Rhythm268269Normal UI does not mean flat or boring. Create structure through hierarchy and contrast, not gimmicks.270271### Do272273- vary section density based on task importance274- let one main surface dominate the page275- use whitespace to separate jobs, not to look expensive276- align content to a clear grid277- keep spacing on a steady scale: `4 / 8 / 12 / 16 / 24 / 32`278279### Do not280281- center random blocks while other content hugs the edge282- alternate between unrelated alignment systems283- use dead space as fake sophistication284- overpad everything285- collapse mobile layouts into one long undifferentiated stack286287## Phase 9: Motion288289Motion should be quiet.290291- keep transitions around `100ms` to `200ms`292- prefer color, border, background, and opacity changes293- avoid hover transforms by default294- avoid bouncy or theatrical motion295- use animation only when it improves orientation or feedback296297## Phase 10: Mobile Behavior298299Mobile should preserve the product structure, not merely stack desktop blocks.300301- reduce columns carefully302- keep actions reachable303- turn secondary controls into segmented rows, menus, or drawers when needed304- protect tables from accidental overflow305- preserve heading hierarchy and spacing density306- avoid giant empty areas between sections307308## Phase 11: Build Like A Designer Working From Real Components309310- Prefer interfaces that look like they could have been assembled from thoughtful Figma components.311- Use familiar patterns and refine them instead of inventing novelty for its own sake.312- Replicate the discipline of strong product design systems: consistent borders, sizing, spacing, and interaction states.313- If a choice feels flashy but not useful, remove it.314315## Phase 12: Final Review316317Before finishing, check:3183191. Does this look like a real product UI instead of an AI-generated dashboard?3202. Is the main task visible immediately?3213. Are the most important data relationships easy to scan?3224. Did I avoid eyebrow labels, decorative copy, fake charts, and floating shells?3235. Are color, spacing, and radii restrained enough?3246. Would this still work if all decorative styling were reduced by half?325326If any answer is no, simplify and tighten the interface.