shadcn/ui presets from finished websites
A shadcn/ui preset is a colour theme, a set of CSS variables: --background, --primary and the rest, light and dark. These 37 come from the colour and type sets our 29 website themes were designed with, so each one has already carried a whole site. Free, checked for contrast, one command to install.
- presets, light and dark
- 37
- from finished websites
- 33
- WCAG and APCA checked
- AA
Every preset, light and dark
Each card shows the light set on the left and the dark set on the right. Open one to see it on six free blocks (a hero, pricing, a comparison table, a form, questions and a footer), copy the CSS, or install it with the shadcn CLI.
Ledger Public Sans
from LedgerOffset Archivo
from OffsetGalley Mona Sans
from GalleyLinen Nunito + Syne
from LinenCharter Public Sans
from CharterHandbill Manrope
from HandbillVitrine Barlow + Work Sans
from VitrineOpenings Barlow + Barlow Condensed
from OpeningsCover Lato
from CoverPassage Open Sans + Nunito
from PassageDateline Schibsted Grotesk
from DatelineTeller DM Sans
from TellerKilowatt Source Sans 3
from KilowattPrompt Albert Sans
from PromptDoorstep Lexend
from DoorstepAirtime Fira Sans
from AirtimeFurrow Mulish + League Spartan
from FurrowDocket Inter
from DocketClause Montserrat
from ClauseCopybook Hanken Grotesk
from CopybookCounterfoil Arimo
from CounterfoilKeyfob Kumbh Sans
from KeyfobParcel Hanken Grotesk
from ParcelForecourt Nunito Sans + Exo 2
from ForecourtLineup Roboto
from LineupTurndown Jost
from TurndownHearth Plus Jakarta Sans
from LinenTide Inter Tight
from LinenQuay Libre Franklin
from CharterMatinee Public Sans
from HandbillProof Source Sans 3
from GalleyRiso Work Sans
from OffsetMargin Hanken Grotesk
from CopybookGraphite Geist
newHarbor Inter + Inter Tight
newMoss Figtree
newEmber Manrope
new
Install a preset in one command
Every preset is a registry:theme item. In a project set up with shadcn init, the CLI writes its light and dark variables, the radius and the fonts into your stylesheet:
npx shadcn@latest add https://www.themes.dev/r/presets/ledger.jsonRather paste it yourself? Each preset’s page has the :root and .dark block, and a version written as instructions for Claude Code, Cursor or v0.
Presets that already carried a whole site
A generator gives you colours that look fine on a button. These were picked for a real website first: a bank, a hotel, a news site, a grocery shop. Each palette had to work for photos, long text, forms and tables before it ended up here. 4 are new (Graphite, Harbor, Moss, Ember), made with our own generator.
We changed two things on the way. Page grounds are near-white in light mode and a quiet near-black in dark, never a strong colour. And every heading font is a sans-serif, so the presets sit with shadcn/ui’s own components.
Like a preset and want the rest? The website theme it comes from has every page, the content model and a live demo. All 29 come with UI Pro.
Questions
- What is a shadcn/ui preset?
- A colour theme: a set of CSS variables in your global stylesheet: --background, --foreground, --primary, --muted-foreground and about 25 more, once under :root for light mode and once under .dark. shadcn/ui components and our blocks only use those variables, so changing them restyles everything at once.
- How do I install a preset?
- Run the command on the preset’s page, for example npx shadcn@latest add https://www.themes.dev/r/presets/ledger.json. The shadcn CLI writes the variables into your CSS file. Or copy the CSS by hand into globals.css (Next.js) or your main stylesheet (Vite, Astro).
- Are the presets free?
- Yes, every preset is free to use in any project, commercial included. The website themes they come from are part of UI Pro (from €199 once), which has the pages, content and demos.
- Why oklch?
- shadcn/ui switched to oklch with Tailwind CSS v4: a fresh
shadcn initwrites every colour as oklch(L C H). It is easier to reason about than hex: the first number is how light a colour looks, so a darker or lighter step keeps its hue. - What does “checked for contrast” mean?
- Every text pair a component draws (text on the page, muted text on cards, the label on a primary button, links, errors, the sidebar) meets WCAG AA, 4.5:1, and reads at APCA Lc 60 or more, in light and in dark. Focus rings get 3:1. The site build stops if a theme misses one.
- Do the presets set fonts?
- Yes: each sets --font-sans and --font-heading. The CLI cannot install a font, so load it yourself (each preset’s page gives the Fontsource package), or keep your own and ignore those two lines.
- Can I change a preset?
- Open it in the theme generator: change the primary colour, the grey, the radius or the fonts, see it on the same blocks, and the contrast checks fix what falls short. You get the CSS, an install link and a prompt for your AI tool.