Rob Austin - Nov 24, 2026
Introducing Shadcn Page Builder V2
The first version of the Shadcn Page Builder let you stack blocks into a single page. That was useful, but real projects are rarely one page. You need a home page, an about page, pricing, a blog, and they all need the same navbar, footer and theme. V2 is built around that: you design the whole site on one canvas, then export it as a complete Next.js or Astro project, either as a ZIP or with a single shadcn CLI command.
A canvas, not a form
When you open the builder you get a site on an infinite canvas. Each page sits inside it as a live frame at its real device width, rendering the actual blocks, not mock-ups. Scroll to pan, pinch or ⌘-scroll to zoom, and press Shift+1 to fit everything on screen.
Zoomed in, pages are fully live. Zoomed out, they switch to screenshots, so a site with a dozen long pages stays smooth to move around. When you zoom back in, the live frames are already waiting underneath.
Start from pages, not just blocks
The left rail has four tabs: Layers, Pages, Blocks and Saved.
Pages lists all 97 pre-built pages by type: landing, about, pricing, blog, careers, contact and more. Open a type, then drag a page into your site (or focus it and press Enter) and it becomes a new page, with its own route in the site’s navigation. Your copy is independent, so you can rework it freely.
Blocks lists 3,500+ blocks grouped by type. Open a type to browse thumbnails, then drag a block onto a page. An insertion line shows exactly where it will land. If you’d rather not drag, select a section and press Enter on a block to insert it right after.
Press Space on any block or page for Quick Look, which previews it in your site’s theme without changing anything.
One theme, one navbar, one footer
A site has a single theme. Pick one from the toolbar, such as Claude, Supabase or Linear, and every page updates at once. Theme fonts load with it, so what you see is what you’ll ship.
Each site also has one shared navbar and footer. They’re outlined in pink on the canvas, like components in Figma, and their links follow your pages: rename a page or change the order and the navigation follows. Pick a different navbar or footer from the inspector and it changes on every page.
Editing sections
Click any section to select it. The inspector on the right shows what it is, its install command, and layout controls for top and bottom padding and width (fill, contained or narrow). A small toolbar on the section moves it up or down, duplicates it, saves it to a collection or deletes it.
Sections can be dragged within a page or across pages. ⌥↑ and ⌥↓ move the selected section, and every change can be undone. Press ? to see every shortcut.
Desktop and mobile together
Each page has desktop, tablet and mobile widths, and breakpoints follow the frame, so you’re seeing the real responsive layout. Turn on Companion in the toolbar to show the mobile version of each page next to the desktop one, so you can check both while you build.
Your library comes with you
Favorites and collections from your account appear in the Saved tab. Favorite a block from the builder, add it to a collection, or drop a whole collection onto a page to insert all of its blocks at once.
Export a complete site
This is the part we’re most excited about. When you’re done in the builder you don’t get a page of snippets to copy. You get the whole site as a real project, in Next.js or Astro, with every page, block, theme and image already in place. You can download it as a ZIP or install it with the shadcn CLI.
Click Export in the top bar and pick three things:
- Framework: Next.js (App Router, React 19) or Astro 6 (React islands).
- Components: Radix UI, Base UI or React Aria. Every block is exported against the primitives you choose.
- Package manager: pnpm, npm, yarn or bun. The README and the CLI commands use it.
The right side of the dialog shows the project you’re about to get, file by file, and it updates as you change options. Switch from Next.js to Astro and app/about/page.tsx becomes pages/about.astro.
Option 1: Download a ZIP
Download ZIP gives you a ready-to-run project:
- One route per page. Each page in your site becomes a route (
src/app/**/page.tsxin Next.js,src/pages/*.astroin Astro), with its sections in the same order, padding and width as on the canvas. The export uses the same layout rules as the builder, so what you saw is what you get. - Every block and everything it imports. Block source, the shadcn/ui components it uses for your chosen library, hooks, utilities, and content. Nothing is missing and nothing extra comes along.
- Your theme. The site’s theme is written into the global CSS.
- Images. Every image your blocks use is bundled into
public/. - Dependencies.
package.jsonlists exactly the packages your blocks need, at the same versions Shadcnblocks uses. - The shared navbar and footer. They’re wired to your real routes, so navigation works the moment you run the site.
- Registry config.
components.jsoncomes preconfigured with the@shadcnblocksregistry, and.envhas a slot for your API key, so you can keep adding blocks with the CLI later.
Unzip it, install and run:
pnpm install && pnpm dev
Next.js route pages stay server components, so page titles work as expected, and each block is a client component. In Astro, every block is a server-rendered React island that hydrates on load.
Option 2: Install with the shadcn CLI
If you’d rather start from the official shadcn project templates, or keep everything in a terminal, Copy CLI command copies the full sequence:
bunx shadcn@latest init --template astro --base base --preset vega --no-monorepo --no-rtl --pointer# Add the @shadcnblocks registry and your API key to components.jsonbunx shadcn@latest add @shadcnblocks/site/<your-site-id>/astro
shadcn initcreates a fresh Next.js or Astro project with your component library.- Add the
@shadcnblocksregistry and your API key tocomponents.json(see the getting started guide). shadcn addinstalls the whole site in one go: every route, the layout, the theme CSS, every block and its dependencies.
The command and the downloaded project are built from the same export, so either way you end up with the same site. Each saved site has its own registry item.
Single pages and blocks
You don’t have to export everything. Select a page and the inspector gives you one shadcn add command for just that page. Select a section and you get the block’s own install command. Both also have Copy AI prompt, which writes a prompt you can paste into Cursor, Claude Code or any other coding assistant to install it into an existing project.
Exporting a site, installing pages and copying AI prompts are part of Elite. Installing a single block works on any plan that includes that block.
Try it
Open the Shadcn Page Builder, add a few pages from the Pages tab and try some themes. You can also start from any pre-built page with “Open in builder”, or from a block page with “Add to builder”.