Shadcn before and after blocks
1 before and after section. Each one is its own item with its own number: pick it, install it, edit it as your code.
In short: 1 shadcn/ui before and after block for React and Tailwind CSS v4, in light and dark, that run in Next.js, Vite and Astro. All come with UI Pro, €199 once. All are interactive. Last block added 4 December 2026.
All 1 before and after blocks at a glance
Each row is one block: the business its demo copy is written for, its layout, the shadcn/ui parts it imports and whether it ships JavaScript.
| Block | Written for | Layout | shadcn/ui parts | Price | JavaScript |
|---|---|---|---|---|---|
| Lowfold before-after-01 | Trades: Bathrooms and kitchens in old houses. | split 4/8 | – | UI Pro | Interactive |
Website themes with before and after blocks
All themesAbout these before and after blocks
All of them need interaction, so each ships a little JavaScript. One ships in our website themes, most of all in Trowel.
Questions about shadcn before and after blocks
Are these shadcn before and after blocks free?
These blocks come with UI Pro, €199 once for one person (excl. tax). 53 other blocks are free and need no account.
How do I install a shadcn before and after block?
With the shadcn CLI, in any React project that has a components.json: npx shadcn@latest add https://www.themes.dev/r/ui/before-after-01.json. It adds the block and the shadcn/ui parts it uses to your code. You first set up the @themesdev registry once, with the API key from your account in .env.local. You can also let Cursor or Claude Code install it through our MCP server.
Do they work with Next.js and Astro?
Yes. They are React components on shadcn/ui and Tailwind CSS v4, so they run in Next.js, Vite and Astro with React. In Astro they render on the server, and only the parts that need interaction ship JavaScript.
Can I use them in client projects?
Yes. The UI Pro licence covers unlimited projects for yourself and your clients. What you can’t do is resell the blocks themselves as a kit or template.
