Tech Stack
- •Next.js 14+ App Router
- •TypeScript
- •Tailwind CSS
- •Mobile-first breakpoints (sm → md → lg → xl)
Mobile-First Rules
- •Default styles = mobile. No breakpoint prefix means phone.
- •Scale up:
text-sm md:text-base lg:text-lg - •Touch targets: Minimum 44x44px for interactive elements
- •Stack by default: Use
flex-colthenmd:flex-row - •Test at 375px width first
Design Principles
Before coding, commit to a BOLD aesthetic direction:
- •Tone: Pick one extreme—brutally minimal, maximalist, retro-futuristic, organic, luxury, playful, editorial, brutalist, art deco, soft/pastel, industrial
- •Differentiation: What makes this UNFORGETTABLE?
Typography
- •Choose distinctive fonts, never Inter/Arial/Roboto/system fonts
- •Pair a display font with a refined body font
- •Use Google Fonts or next/font for optimization
Color & Theme
- •Use CSS variables in globals.css
- •Dominant color + sharp accent beats evenly-distributed palettes
- •Commit to light OR dark, don't hedge
Motion
- •CSS-only when possible
- •One orchestrated page load > scattered micro-interactions
- •Use
animation-delayfor staggered reveals
Layout
- •Unexpected compositions: asymmetry, overlap, grid-breaking
- •Generous negative space OR controlled density
- •Never center everything
File Structure
code
src/ components/ # Reusable components app/ # Pages and layouts styles/ # Global CSS
Anti-Patterns (NEVER)
- •Generic gradients on white backgrounds
- •Cookie-cutter card layouts
- •Predictable hero + 3-column features
- •Space Grotesk (overused)
- •Purple/blue tech gradients