shadcn/ui

Mood track «Mana Two - Part 1» · Kevin MacLeod incompetech.com · licensed under Creative Commons BY 4.0
Example image of the style shadcn/ui
Preview built in HTML and CSS in this style

shadcn · shadcn ui

A collection of copy-into-your-project components created by developer shadcn on top of Radix and Tailwind. Recognisable by its monochrome zinc look, hairline borders and black buttons, the default aesthetic of AI-built apps.

Era
2023 – today
Origin
shadcn (Vercel), USA
Use
Mainstream
Domain
Web / UI
Mood
cleansubtlerational
Explore

Live demo

View code
<div class="card"><div class="h"><b>Crea progetto</b><span class="bdg">Bozza</span></div><p>Distribuisci il nuovo progetto in un clic.</p><label>Nome</label><input value="Il mio progetto"><div class="alert"><b>Attenzione</b> Il nome è già in uso.</div><div class="row"><button class="b out">Annulla</button><button class="b pri">Distribuisci</button></div></div>
body{background:#fff;font-family:Inter,sans-serif;color:#09090B;display:grid;place-items:center;margin:0;min-height:100vh}
.card{width:330px;max-width:92vw;border:1px solid #E4E4E7;border-radius:12px;padding:18px;box-shadow:0 1px 2px #0000000d;display:flex;flex-direction:column;gap:8px}
.h{display:flex;justify-content:space-between;align-items:center;font-size:17px}
.bdg{border:1px solid #E4E4E7;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px}
p{margin:0 0 4px;font-size:14px;color:#71717A}
label{font-size:14px;font-weight:500}
input{font:inherit;font-size:14px;height:36px;padding:0 12px;border:1px solid #E4E4E7;border-radius:8px;outline:2px solid #A1A1AA;outline-offset:2px}
.alert{border:1px solid #FECACA;color:#DC2626;border-radius:8px;padding:8px 12px;font-size:13px}.alert b{display:block}
.row{display:flex;justify-content:space-between;margin-top:4px}
.b{font:500 14px Inter,sans-serif;height:36px;padding:0 16px;border-radius:8px;cursor:pointer}
.out{background:#fff;border:1px solid #E4E4E7;color:#09090B}.pri{background:#18181B;color:#FAFAFA;border:0}

Characteristics

  • Neutral zinc palette: #09090B text on white, #E4E4E7 borders
  • Near-black primary button with outline / ghost / destructive variants
  • Single configurable radius (--radius: 0.5 rem)
  • CSS tokens as HSL variables with light and dark themes
  • Code copied into the project rather than installed as a package

Palette

Click a swatch to copy it

Typography

Headings · Inter shadcn/ui

Body · Inter A collection of copy-into-your-project components created by developer shadcn on top of Radix and Tailwind. Recognisable by its monochrome zinc look, hairline borders and black buttons, the default aesthetic of AI-built apps.

Prompt for your agent

Copy and paste into your prompt to have an agent or image generator reproduce this style.

For web pages and UI

Design the web page or interface in this style: shadcn/ui (shadcn, shadcn ui).
A collection of copy-into-your-project components created by developer shadcn on top of Radix and Tailwind. Recognisable by its monochrome zinc look, hairline borders and black buttons, the default aesthetic of AI-built apps.
Characteristics: Neutral zinc palette: #09090B text on white, #E4E4E7 borders, Near-black primary button with outline / ghost / destructive variants, Single configurable radius (--radius: 0.5 rem), CSS tokens as HSL variables with light and dark themes, Code copied into the project rather than installed as a package.
Palette: #09090B, #FFFFFF, #F4F4F5, #E4E4E7, #71717A, #EF4444.
Typography: headings in Inter, body text in Inter (Google Fonts or equivalents).
Mood: clean, subtle, rational.
References: https://ui.shadcn.com, v0 by Vercel, Radix UI, Tailwind CSS.

Relations

Derives from: Radix ThemesRadix ThemesSimilar to: Chakra UIChakra UISimilar to: Command paletteCommand paletteSimilar to: MantineMantineSimilar to: Web minimalismWeb minimalismSimilar to: Tailwind UITailwind UIContrasts with: MUI (Material UI)MUI (Material UI)Contrasts with: BootstrapBootstrapshadcn/ui
Derives fromSimilar toContrasts withSee in the graph →

References

  • https://ui.shadcn.com
  • v0 by Vercel
  • Radix UI
  • Tailwind CSS