Cookie preferences dialog with category switches
- Radix UI and Base UI
- 8 styles
- 5 icon sets
Agent description
A cookie preferences dialog with a switch per category, a short explanation under each and links to your privacy policy. Choices save to a cookie and can be reopened from the badge, which also withdraws consent. Built for a consent platform: the block owns the look and the switches.
SBIOTJ
Join 20,000+ builders shipping with shadcncraft
Get access to this block and the full library
Production-ready blocks and components with matching Figma and React.


Benefits
Production-ready by default
Built with shadcn/ui conventions and designed for real projects.
Built with shadcn/ui
Clean React components using Tailwind and modern shadcn patterns.
Install instantly
Add the block directly using the shadcn CLI.
Works with your theme
Compatible with shadcn themes and token-based color systems.
MCP server support
Use shadcn MCP server right from your favorite AI tools.
Frequently Asked Questions
Yes. They follow shadcn/ui structure and are built for real products.
All blocks
More Banners
Free
Banner 10
Inline announcement link with icon


Pro
Banner 9
Full-width callout bar


Pro
Banner 8
Inline announcement link


Pro
Banner 7
Minimal announcement strip


Pro
Banner 6
Event banner with date and speakers


Pro
Banner 5
Consent banner with action group


Pro
Banner 4
Promo code pill


Pro
Banner 3
Inline announcement banner with actions


Pro
Banner 2
Countdown offer bar


Pro
Banner 1
Inline signup banner

