Flat design
Solid colour fills with no shadows, gradients or texture, simple filled icons and plain sans: the iOS 7 and Metro reset.
Try it
Ground
#ecf0f1
Surface
#ffffff
Text
#2c3e50
Accent
#e74c3c
- Type
- sans
- Radius
- 4px
- Material
- box-shadow:none; border:0
This screen uses only the look's tokens. Click, type and toggle it. The libraries below are what your agent installs to build the real thing.
What your agent builds it with
Component kits
shadcn/uiCopy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI.the default component layer for a new React + Tailwind app or SaaS dashboard
the project is Vue, Svelte or Solid: use shadcn-vue, shadcn-svelte or Kobalte
Pairs with Base UI, Radix Primitives, Sonner, cmdk, MotionElse shadcn-vueshadcn-svelte Kobra Try it live Primitives
Base UIUnstyled, accessible React primitives from the Radix, Floating UI and MUI teams.building your own design system where every pixel is custom
you want styled components today: use shadcn-ui (Base UI flavour) or coss-ui
Motion
MotionThe default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.dialogs, popovers and panels that must animate out before they unmount (AnimatePresence)
a hover colour change or a one-shot fade: a CSS transition costs zero bytes
Text effects
TorphAnimated text morphing: labels change letter by letter instead of swapping.copy button that confirms in place (Copy -> Copied)
long paragraphs or body copy: morphing many glyphs reads as noise
Feedback
SonnerOpinionated toast component with stacking, swipe to dismiss and promise toasts; ports for Vue, Svelte, Solid and Angular.confirming a background action finished away from where it started (Saved, Invite sent)
form validation errors: show them inline next to the field
Command menus
cmdkFast, unstyled React command menu with built-in fuzzy filtering.a Cmd+K palette in a SaaS app: jump to page, run action, switch workspace
you want nested scopes, breadcrumbs and tuned motion out of the box: use kobra's command-menu
Icons
Phosphor IconsLarge icon family in six weights: thin, light, regular, bold, fill and duotone.selected vs unselected states (regular icon idle, fill icon active) in tab bars and nav
a shadcn/ui project already on Lucide: mixing two stroke styles looks off, stay on lucide
Backgrounds
No library. This look does it in plain CSS.
3D
React Three FiberReact renderer for three.js: build 3D scenes as JSX components with hooks.interactive 3D hero objects in a React or Next.js landing page
a decorative gradient or noise background: use paper-shaders, no 3D stack needed
Tables
TanStack TableHeadless table logic: sorting, filtering, pagination, selection and grouping, rendered with your own markup.a sortable, filterable data table styled by your own kit (shadcn-ui's Data Table is built on it)
a spreadsheet-like grid with cell editing and keyboard navigation out of the box: use ag-grid
Editors
TiptapHeadless rich-text editor framework on ProseMirror, with 100+ MIT extensions.a rich text editor for comments, posts or descriptions with bold, lists, links and mentions
a flowchart or node editor: use xyflow
The plan your agent reads
For “landing page with a signup form, a pricing table and toasts” in Flat design: the plan tool's answer, word for word
look: Flat design (flat-design, minimal family)
framework: react (assumed; pass framework)
build with every line below: run its install (shadcn init works in any React + Tailwind app and adds only components.json, lib/utils.ts and theme tokens), build its part with it (usage under it), then adapt it to the rules below. A hand-written stand-in for a listed part (a <details> for an Accordion) is a miss
component-kit (its parts for this page) -> shadcn-ui: a settings page, data table, form or sidebar app shell you will restyle to your brand | npx shadcn@latest init -b base -p nova && npx shadcn@latest add button card badge table input label | else: mantine, coss-ui
motion (presses, gestures, menus and entrances) -> motion: The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations. (look's pick) | npm i motion
feedback (toasts) -> sonner: progress of an async task the user can walk away from (toast.promise) | npm i sonner | else: react-hot-toast, ding
import { Toaster, toast } from 'sonner'
<Toaster position="bottom-right" />
<button onClick={() => toast('Invite sent', { action: { label: 'Undo', onClick: undoInvite } })}>Invite</button>
icons (every icon on the page: one size and stroke, set once) -> lucide: pairs with shadcn/ui | npm i lucide-react | else: phosphor
import { LucideProvider, Search } from 'lucide-react'
<LucideProvider size={16} strokeWidth={1.5}>
<Search aria-hidden />
</LucideProvider>
done when: every package above is imported where its part is, and no listed part is hand-written
vs: Not material-design: no elevation or shadow at all. Not minimal: several bright flat colours and illustration, not one accent on black or white. Not skeuomorphism or neumorphism: nothing imitates a physical surface.
type: Plain neutral or geometric sans (Lato, Open Sans, Roboto; Montserrat for headings) at 400 and 700; headings 32-48px, body 16px. Hierarchy from colour blocks and size, never from effects.
colour: Four to six flat saturated colours (turquoise #1abc9c, blue #3498db, amethyst #9b59b6, red #e74c3c, sunflower #f1c40f) on white or light grey (#ecf0f1), midnight text (#2c3e50). Each colour has a job; darken a fill until white text on it passes AA.
motion: Quick and plain: 150-200ms colour and position changes, screen changes slide in at 250ms ease-out. No depth effects.
avoid: shadows, gradients or bevels; white text on light flat colours; flat buttons that stop looking clickable (keep a solid fill or underline); long-shadow icons
refs: name a real one first: the user's, else search Mobbin, Refero or Inspo (free) if connected, else Flat UI Colors flatuicolors.com, Kurzgesagt kurzgesagt.org or a DESIGN.md from styles.refero.design or devault.design, and say how to connect one (get references)
brief first: build every part it names before styling; the first screen shows the main content working, not an empty hero; at desktop width fill it (columns, a side panel), never a phone-width column in empty space
never, whatever the look: text under 4.5:1 contrast (on glass, over its lightest backdrop); a headline clipped or split mid-word at 390px; a font named, not loadedRules
- Type
- Plain neutral or geometric sans (Lato, Open Sans, Roboto; Montserrat for headings) at 400 and 700; headings 32-48px, body 16px. Hierarchy from colour blocks and size, never from effects.
- Colour
- Four to six flat saturated colours (turquoise #1abc9c, blue #3498db, amethyst #9b59b6, red #e74c3c, sunflower #f1c40f) on white or light grey (#ecf0f1), midnight text (#2c3e50). Each colour has a job; darken a fill until white text on it passes AA.
- Motion
- Quick and plain: 150-200ms colour and position changes, screen changes slide in at 250ms ease-out. No depth effects.
Goes wrong when
- shadows, gradients or bevels
- white text on light flat colours
- flat buttons that stop looking clickable (keep a solid fill or underline)
- long-shadow icons
Not to be confused with
- Material Design 2no elevation or shadow at all.
- Minimalseveral bright flat colours and illustration, not one accent on black or white.
- skeuomorphism or neumorphismnothing imitates a physical surface.
Also in Minimal
Brief words that land here
flat design · flat ui · flat style · flat colours · flat colors · flat illustration · metro ui · metro design · ios 7









