# Shadcn Dialog Components

A modal window for forms and focused tasks layered over the page, with scrollable content, sticky header and footer, sign in, OTP, checkout, plan change, profile and onboarding examples. Built with shadcn/ui and compatible with Radix UI and Base UI.

- Page: https://shadcnuikit.com/components/dialog
- Variants: 13 (13 free, 0 pro)
- Built with shadcn/ui, Tailwind CSS v4, React and Next.js

- [Scrollable](https://shadcnuikit.com/components/dialog/1) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog1`)
- [Custom scrollbar](https://shadcnuikit.com/components/dialog/2) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog2`)
- [Sticky header](https://shadcnuikit.com/components/dialog/3) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog3`)
- [Sticky footer](https://shadcnuikit.com/components/dialog/4) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog4`)
- [Terms and conditions](https://shadcnuikit.com/components/dialog/5) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog5`)
- [Newsletter](https://shadcnuikit.com/components/dialog/6) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog6`)
- [Feedback](https://shadcnuikit.com/components/dialog/7) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog7`)
- [OTP code](https://shadcnuikit.com/components/dialog/8) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog8`)
- [Sign in](https://shadcnuikit.com/components/dialog/9) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog9`)
- [Checkout](https://shadcnuikit.com/components/dialog/10) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog10`)
- [Change plan](https://shadcnuikit.com/components/dialog/11) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog11`)
- [Edit profile](https://shadcnuikit.com/components/dialog/12) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog12`)
- [Onboarding](https://shadcnuikit.com/components/dialog/13) (Free, install: `npx shadcn@latest add @shadcnuikit/dialog13`)

## Install with the shadcn CLI

Add the registry to components.json once:

```json
"registries": {
  "@shadcnuikit": {
    "url": "https://shadcnuikit.com/r/{name}.json",
    "headers": {
      "Authorization": "Bearer ${REGISTRY_TOKEN}"
    }
  }
}
```

Then install any item by its registry name, for example `npx shadcn@latest add @shadcnuikit/hero1`. Free items install without an API key. Pro items need a license and an API key from https://shadcnuikit.com/account/api-keys, set as REGISTRY_TOKEN in your .env file.

More from Shadcn UI Kit: [llms.txt](https://shadcnuikit.com/llms.txt)