The best shadcn blocks and templates in 2026
Where to find shadcn blocks and templates, free and paid, how they install with the shadcn CLI, and what to check before you ship one.
Blocks, components and templates
shadcn blocks are prebuilt sections, such as a login form, a dashboard, a pricing table or a landing page hero, made from shadcn/ui components. You add one with a single shadcn add command and the source lands in your repo. The official set is free; dozens of libraries sell bigger ones. This guide covers where to get them, how they install and what to check before one goes live.
The three words get used loosely, so here is the split that matters in practice:
Blocks are the sweet spot for most SaaS work. A component still leaves you the layout, and a template makes you adopt someone else's routing, auth and folder structure. A block drops into the app you already have. Here is one, live: a free Arc hero you can install in one line.
How blocks install
Every block in this guide uses the same mechanism: a registry. A registry is a set of JSON files, one per item, listing its source files, npm dependencies and the other items it needs. The shadcn CLI reads the JSON and writes everything into your project.
@blocks-so/r/login-01.jsonshadcn addcomponents/Official blocks resolve without any setup. Third-party ones need a namespace under registries, where {name} is replaced by the item. Paid registries take headers from environment variables, so the token never lands in git.
{ "$schema": "https://ui.shadcn.com/schema.json", "style": "new-york", "tsx": true, "aliases": { "components": "@/components", "utils": "@/lib/utils" }, "registries": { "@blocks-so": "https://blocks.so/r/{name}.json", "@uiarc": "https://uiarc.dev/r/{name}.json", "@acme": { "url": "https://registry.acme.dev/r/{name}.json", "headers": { "Authorization": "Bearer ${ACME_TOKEN}" } } }}# Official blocks need no confignpx shadcn@latest add dashboard-01 login-03 # Namespaced blocks from components.jsonnpx shadcn@latest add @blocks-so/login-01 @uiarc/hero-section # Look before you install: files, dependencies, other itemsnpx shadcn@latest view @uiarc/hero-section # Or skip the config and pass the registry URLnpx shadcn@latest add https://blocks.so/r/login-01.jsonTwo details catch people out. The CLI installs the components a block depends on, so adding a dashboard can also add or update button, card and table; when a file already exists it asks before overwriting, and you should read that prompt rather than accept it. And blocks usually land as several files, a page plus parts and sample data, so review the diff like any other pull request.
Commit components.json. It is how teammates, CI and coding agents find the same blocks. The shadcn MCP server reads the same namespaces, so once a registry is listed, Claude Code or Cursor can search it and install from it by name. Arc's AI and MCP docs show the setup for each tool.
Where to get shadcn blocks
Hundreds of collections exist. These seven come up most.







How to choose: count the blocks you would actually use, not the catalog size. A product team needs a dozen good app blocks (sign in, settings, billing, tables, empty states) far more than a thousand hero variants. Marketing sites are the opposite. Then check the styling matches your stack, Tailwind version included, and that the license covers how you ship. If you need two or three sections, the free sets usually cover them; paying makes sense when one source covers most of a product and saves weeks of design.
Two blocks from Arc, as examples of what a finished block gives you over a bare layout: designed states, motion and real interaction.
Dashboards and full screens
Search for a shadcn dashboard template and most results are starter repos: a sidebar, a chart, a data table and a settings page in one Next.js project. They are a fine way to start a new admin app. In an existing app they are harder to use, because you end up copying pieces out of someone else's routing and state.
The middle ground is a full screen installed like a block: the sidebar, header, charts and table of one complete page, but delivered through the registry into your own routes. Official dashboard-01 works this way. So does this one:
Rule of thumb: starting from nothing, clone a template. Adding a page to an app that already has auth and data, install a block or a screen.
Check before you ship
Every block looks good in its preview. These are the checks that separate the ones that survive production from the ones you rewrite a month later.
- Keyboard and labels
- Tab through it. Every control reachable, focus visible, inputs labelled, dialogs trap focus and close on Escape. Built on Radix or Base UI primitives is a good sign.
- Tokens, not hex
- Search the source for hex values and fixed Tailwind colours like
bg-zinc-900. Every one is a place where your theme will not reach. - Dark mode
- Toggle it. Hard-coded colours, illustrations and shadows are what break.
- 375 px wide
- Pricing tables, data tables and split layouts are the usual failures. Look for a real phone layout, not a squeezed desktop one.
- Dependencies
- Run
shadcn viewfirst. A hero that pulls in three animation libraries costs bundle size on every page. - States
- Empty, loading, error, long names. Previews show the happy path with perfect sample data.
- License
- MIT, or a commercial license that covers your use: client work, a SaaS, an open source repo. Paid licenses rarely allow publishing the source.
Make it yours
The fastest way to spot a site built from blocks is that it looks like the demo. Most of the fix is in the theme, not the markup. shadcn blocks read a small set of CSS variables, so changing them restyles every block at once:
/* globals.css: the variables every shadcn block reads */:root { --radius: 0.5rem; --primary: oklch(0.52 0.21 262); --primary-foreground: oklch(0.98 0 0); --muted-foreground: oklch(0.5 0.01 262); --font-sans: "Inter", ui-sans-serif, system-ui;} .dark { --primary: oklch(0.66 0.17 262); --muted-foreground: oklch(0.7 0.01 262);}Then go block by block: swap the sample copy for your own, cut sections you do not need (most heroes ship with more badges and buttons than a page wants), and use your real data from the start so the layout is tested against real lengths. If the same tweak repeats across blocks, put it in the tokens.
Coding agents are good at this kind of edit when the instructions are specific:
Adapt the block in components/blocks/pricing to our product. - Replace every hex value and Tailwind colour class with our tokens (--primary, --muted-foreground, --border).- Keep the markup, keyboard behaviour and aria attributes.- Plans come from lib/plans.ts; delete the sample data.- Copy: sentence case, our plan names, no placeholder text.- Check light, dark and 375 px wide, then list what changed.Last, mix sources carefully. Two libraries means two spacing scales, two radius systems and two ideas of motion. One main source for blocks, with official shadcn components as the shared base, keeps a product looking like one product.
When a block needs more than a theme change, edit it freely: it is your code now. Keep a note of where it came from and which version, so a later fix upstream is easy to compare against. That is the trade with copy-in blocks: no surprise upgrades, and no automatic ones either.
Questions
What are shadcn blocks?
Prebuilt sections such as a login form, a dashboard, a pricing table or a hero, made from shadcn/ui components. They install as source into your project with the shadcn CLI, so you own and edit the code.
Are shadcn blocks free?
The official blocks at ui.shadcn.com/blocks are free and MIT licensed, and so are open source sets such as blocks.so. Most larger libraries mix a free set with a paid tier, usually a one-time license, and a few charge for every block.
Can I use shadcn blocks in commercial projects?
MIT blocks, yes. Paid blocks depend on the license: most allow commercial products but forbid reselling the source as a kit or publishing it in a public repo, and some cheaper plans are personal use only. Read the license page before you ship client work.
What is the difference between a shadcn block and a template?
A block is one section you add to an existing app with a single CLI command. A template is a whole starter project, with routing, pages and config, that you clone and build on. Blocks fit into your app; you fit your app into a template.
How do I install blocks from a third-party registry?
Add the registry's namespace under registries in components.json, for example "@blocks-so": "https://blocks.so/r/{name}.json", then run npx shadcn@latest add @blocks-so/login-01. You can also pass a full registry URL to shadcn add without any config.