Frontend Design
Overview
Create distinctive, production-grade frontend interfaces that avoid generic
"AI slop" aesthetics. Implement real working code with exceptional attention
to aesthetic details and creative choices.
Output Requirements
MANDATORY: The entry HTML file MUST be named index.html.
Design Thinking
Before coding, understand the context and commit to a BOLD aesthetic direction:
- Purpose: What problem does this interface solve? Who uses it?
- Tone: Pick an extreme: brutally minimal, maximalist chaos,
retro-futuristic, organic/natural, luxury/refined, playful/toy-like,
editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel,
industrial/utilitarian, etc.
- Constraints: Technical requirements (framework, performance, accessibility)
- Differentiation: What makes this UNFORGETTABLE? What's the one thing
someone will remember?
CRITICAL: Choose a clear conceptual direction and execute it with precision.
Bold maximalism and refined minimalism both work — the key is intentionality.
Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
- Production-grade and functional
- Visually striking and memorable
- Cohesive with a clear aesthetic point-of-view
- Meticulously refined in every detail
Frontend Aesthetics Guidelines
Typography
- Choose fonts that are beautiful, unique, and interesting
- Avoid generic fonts (Arial, Inter, Roboto, system fonts)
- Pair a distinctive display font with a refined body font
- Use Google Fonts or local font files
Color & Theme
- Commit to a cohesive aesthetic
- Use CSS variables for consistency
- Dominant colors with sharp accents outperform timid, evenly-distributed palettes
- Avoid cliched purple gradients on white backgrounds
Motion
- Use animations for effects and micro-interactions
- Prioritize CSS-only solutions for HTML
- Focus on high-impact moments: one well-orchestrated page load with staggered
reveals creates more delight than scattered micro-interactions
- Use scroll-triggering and hover states that surprise
Spatial Composition
- Unexpected layouts. Asymmetry. Overlap. Diagonal flow
- Grid-breaking elements
- Generous negative space OR controlled density
Backgrounds & Visual Details
- Create atmosphere and depth rather than defaulting to solid colors
- Add contextual effects and textures: gradient meshes, noise textures,
geometric patterns, layered transparencies, dramatic shadows, decorative
borders, custom cursors, grain overlays
NEVER use generic AI-generated aesthetics:
- Overused font families (Inter, Roboto, Arial)
- Cliched color schemes (purple gradients on white)
- Predictable layouts and component patterns
- Cookie-cutter design that lacks context-specific character
Match implementation complexity to the aesthetic vision. Maximalist designs
need elaborate code. Minimalist designs need restraint, precision, and careful
attention to spacing, typography, and subtle details.
Workflow
- Understand the user's frontend requirements
- Choose an aesthetic direction (tone, fonts, colors, motion)
- Generate the HTML/CSS/JS code:
write_file("index.html", "<full HTML content>")
write_file("styles.css", "<full CSS content>")
write_file("script.js", "<full JS content>")
- Present the file path so the user can open it in a browser
Pitfalls
- Generic aesthetics: the #1 failure mode. If it looks like every other
AI-generated page, redo it with a bolder direction.
- Font convergence: don't use the same fonts across every project. Vary.
- Over-animation: too many animations overwhelm. One well-orchestrated
moment beats ten scattered micro-interactions.
- No dark mode: consider whether the design should support dark mode.
- Accessibility: bold aesthetics must not sacrifice readability. Check
contrast ratios, font sizes, focus states.
1---2name: frontend-design3description: Create distinctive, production-grade frontend interfaces.4license: MIT5---67# Frontend Design89## Overview1011Create distinctive, production-grade frontend interfaces that avoid generic12"AI slop" aesthetics. Implement real working code with exceptional attention13to aesthetic details and creative choices.1415## Output Requirements1617**MANDATORY**: The entry HTML file MUST be named `index.html`.1819## Design Thinking2021Before coding, understand the context and commit to a BOLD aesthetic direction:2223- **Purpose**: What problem does this interface solve? Who uses it?24- **Tone**: Pick an extreme: brutally minimal, maximalist chaos,25 retro-futuristic, organic/natural, luxury/refined, playful/toy-like,26 editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel,27 industrial/utilitarian, etc.28- **Constraints**: Technical requirements (framework, performance, accessibility)29- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing30 someone will remember?3132**CRITICAL**: Choose a clear conceptual direction and execute it with precision.33Bold maximalism and refined minimalism both work — the key is intentionality.3435Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:36- Production-grade and functional37- Visually striking and memorable38- Cohesive with a clear aesthetic point-of-view39- Meticulously refined in every detail4041## Frontend Aesthetics Guidelines4243### Typography44- Choose fonts that are beautiful, unique, and interesting45- Avoid generic fonts (Arial, Inter, Roboto, system fonts)46- Pair a distinctive display font with a refined body font47- Use Google Fonts or local font files4849### Color & Theme50- Commit to a cohesive aesthetic51- Use CSS variables for consistency52- Dominant colors with sharp accents outperform timid, evenly-distributed palettes53- Avoid cliched purple gradients on white backgrounds5455### Motion56- Use animations for effects and micro-interactions57- Prioritize CSS-only solutions for HTML58- Focus on high-impact moments: one well-orchestrated page load with staggered59 reveals creates more delight than scattered micro-interactions60- Use scroll-triggering and hover states that surprise6162### Spatial Composition63- Unexpected layouts. Asymmetry. Overlap. Diagonal flow64- Grid-breaking elements65- Generous negative space OR controlled density6667### Backgrounds & Visual Details68- Create atmosphere and depth rather than defaulting to solid colors69- Add contextual effects and textures: gradient meshes, noise textures,70 geometric patterns, layered transparencies, dramatic shadows, decorative71 borders, custom cursors, grain overlays7273**NEVER use generic AI-generated aesthetics:**74- Overused font families (Inter, Roboto, Arial)75- Cliched color schemes (purple gradients on white)76- Predictable layouts and component patterns77- Cookie-cutter design that lacks context-specific character7879**Match implementation complexity to the aesthetic vision.** Maximalist designs80need elaborate code. Minimalist designs need restraint, precision, and careful81attention to spacing, typography, and subtle details.8283## Workflow84851. Understand the user's frontend requirements862. Choose an aesthetic direction (tone, fonts, colors, motion)873. Generate the HTML/CSS/JS code:88 ```89 write_file("index.html", "<full HTML content>")90 write_file("styles.css", "<full CSS content>")91 write_file("script.js", "<full JS content>")92 ```934. Present the file path so the user can open it in a browser9495## Pitfalls9697- **Generic aesthetics**: the #1 failure mode. If it looks like every other98 AI-generated page, redo it with a bolder direction.99- **Font convergence**: don't use the same fonts across every project. Vary.100- **Over-animation**: too many animations overwhelm. One well-orchestrated101 moment beats ten scattered micro-interactions.102- **No dark mode**: consider whether the design should support dark mode.103- **Accessibility**: bold aesthetics must not sacrifice readability. Check104 contrast ratios, font sizes, focus states.