Shadcn cookie consent blocks
8 cookie consent sections. Each one is its own item with its own number: pick it, install it, edit it as your code.
In short: 8 shadcn/ui cookie consent blocks 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.

cookie-consent-01Applegarth
Pro
cookie-consent-02The Eskdaleside line
Pro
cookie-consent-03Larchmere
Pro
cookie-consent-04Camping Moselbrug
Pro
cookie-consent-05Quillfern Soap
Pro
cookie-consent-06Saltcote Seal Trips
Pro
cookie-consent-07Tidworth Climbing
Pro
cookie-consent-08The Wharram Courier
Pro
All 8 cookie consent 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 |
|---|---|---|---|---|---|
| Applegarth cookie-consent-01 | Nursery: A nursery for bare-root fruit trees in Wensley. | bar top/in flow | button | UI Pro | Interactive |
| The Eskdaleside line cookie-consent-02 | Railway: A small railway with its own timetable. | split 4/7 answer rows | button | UI Pro | Interactive |
| Larchmere cookie-consent-03 | Furniture: Furniture made to order in Kendal. | corner card 350 | button | UI Pro | Interactive |
| Camping Moselbrug cookie-consent-04 | Campsite: On a lake where four languages are spoken. | four language columns | button | UI Pro | Interactive |
| Quillfern Soap cookie-consent-05 | Soap maker: A soap maker in Ludlow. | band statement and list | button | UI Pro | Interactive |
| Saltcote Seal Trips cookie-consent-06 | Boat trips: One boat from the harbour in Seahouses. | split 5/7 photo frame | button, checkbox, label | UI Pro | Interactive |
| Tidworth Climbing cookie-consent-07 | Climbing hall: A hall with members. | account column | button | UI Pro | Interactive |
| The Wharram Courier cookie-consent-08 | Local newspaper: A weekly paper for one valley. | side panel 460 | button | UI Pro | Interactive |
About these cookie consent blocks
Each of the 8 is written for a real kind of business, eight in all, from nursery and furniture to soap maker, so the copy and photos show the section doing its job instead of placeholder text. By layout: one uses cards, one uses a photo. All of them need interaction, so each ships a little JavaScript.
Questions about shadcn cookie consent blocks
Are these shadcn cookie consent 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 cookie consent block?
With the shadcn CLI, in any React project that has a components.json: npx shadcn@latest add https://www.themes.dev/r/ui/cookie-consent-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.