# Sheet Settings 3 - Notification preferences

> Notification Preferences Sheet.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/sheet-sheet-settings-3).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/sheet-sheet-settings-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/sheet-sheet-settings-3-light-ece44b34a7866580.png
- Registry item: https://shadcnblocks.com/r/sheet-sheet-settings-3.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/sheet-sheet-settings-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: `button`, `checkbox`, `label`, `sheet`

## Files

### `example/sheet/sheet-settings-3.tsx`

```tsx
import { Button } from "@/components/ui/button";
import { Checkbox } from "@/components/ui/checkbox";
import { Label } from "@/components/ui/label";
import {
  Sheet,
  SheetContent,
  SheetDescription,
  SheetHeader,
  SheetTitle,
  SheetTrigger,
} from "@/components/ui/sheet";

export const title = "Notification Preferences Sheet";

const Example = () => (
  <Sheet>
    <SheetTrigger asChild>
      <Button variant="outline">Notifications</Button>
    </SheetTrigger>
    <SheetContent>
      <SheetHeader>
        <SheetTitle>Notification Settings</SheetTitle>
        <SheetDescription>
          Choose what notifications you want to receive
        </SheetDescription>
      </SheetHeader>
      <div className="flex flex-col gap-4 p-4">
        <div className="flex flex-col gap-2">
          <h4 className="text-sm font-semibold">Email Notifications</h4>
          <div className="flex items-center justify-between">
            <Label htmlFor="email-updates">Product Updates</Label>
            <Checkbox defaultChecked id="email-updates" />
          </div>
          <div className="flex items-center justify-between">
            <Label htmlFor="email-news">Newsletter</Label>
            <Checkbox id="email-news" />
          </div>
        </div>
        <div className="flex flex-col gap-2">
          <h4 className="text-sm font-semibold">Push Notifications</h4>
          <div className="flex items-center justify-between">
            <Label htmlFor="push-messages">New Messages</Label>
            <Checkbox defaultChecked id="push-messages" />
          </div>
          <div className="flex items-center justify-between">
            <Label htmlFor="push-mentions">Mentions</Label>
            <Checkbox defaultChecked id="push-mentions" />
          </div>
        </div>
      </div>
    </SheetContent>
  </Sheet>
);

export default Example;
```
