# Cookie Consent 3

> Left-aligned toast banner featuring icon avatar, description text, and customization buttons.

A shadcn/ui block from the [@paceui](https://paceui.com/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/paceui/marketing-cookie-consent-3).

- Page, with a live preview: https://shadcn.exchange/r/paceui/marketing-cookie-consent-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/paceui/marketing-cookie-consent-3-light-a811acd709d72336.png
- Registry item: https://paceui.com/r/marketing-cookie-consent-3.json
- Listed: 2026-10-21, source last changed 2026-10-21

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/paceui/marketing-cookie-consent-3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `card`, `button`

## Files

### `components/blocks/marketing/cookie-consent/cookie-consent-3.tsx`

```tsx
import { ShieldCheck } from "lucide-react";

import { Button } from "@/components/ui/button";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";

export function CookieConsent3() {
    return (
        <Card className="w-full max-w-112.5">
            <CardHeader className="grid-cols-[auto_1fr] items-start gap-3.5 text-start">
                <div className="bg-muted text-primary hidden size-10 items-center justify-center rounded-md sm:flex">
                    <ShieldCheck className="size-5" />
                </div>
                <div className="flex flex-col gap-1">
                    <CardTitle className="text-base font-medium">Cookie Preferences</CardTitle>
                    <CardDescription className="text-xs leading-relaxed sm:text-sm">
                        Our site uses cookies to customize experience and analyze visitor traffic. Choose your preferred
                        options.
                    </CardDescription>
                </div>
            </CardHeader>
            <CardContent className="flex items-center gap-2 pt-0 sm:ps-17.5">
                <Button size="sm" className="flex-1 cursor-pointer sm:flex-none">
                    Accept All
                </Button>
                <Button size="sm" variant="outline" className="flex-1 cursor-pointer sm:flex-none">
                    Customize
                </Button>
            </CardContent>
        </Card>
    );
}
```
