Overview
shadcn/ui cookies is a feature-focused cookie consent kit built with shadcn/ui. It ships with multiple layouts, flexible styling, and UX patterns that work out of the box for most product needs.
Key Features
- Three ready-to-use variants: Default, Small, and Minimal for different visibility and layout requirements.
- Consistent shadcn/ui styling: Matches existing component aesthetics with clean typography and spacing.
- Compact layouts: Small and Minimal variants reduce visual footprint while keeping actions clear.
- Flexible copy surface: Easy to customize messaging without rewriting the structure.
- Action-first UX: Clear primary/secondary actions for consent decisions.
Variants
- Default: Full-width banner with clear disclosure and action buttons.
- Small: Compact card with rounded actions and simplified text.
- Minimal: Low-profile notice for lightweight consent flows.
Outcome
Teams can drop in a production-ready consent UI quickly, pick the right variant, and keep visual consistency across the product.