πŸ“„ tailwindcss/plus/ui-blocks/application-ui/overlays/modal-dialogs

File: modal-dialogs.md | Updated: 11/15/2025

Source: https://tailwindcss.com/plus/ui-blocks/application-ui/overlays/modal-dialogs

5-day Mini-Course

Build UIs that don’t suck.

Short, tactical video lessons from the creator of Tailwind CSS, delivered directly to your inbox every day for a week.

Get the free course

Modal Dialogs

Use these Tailwind CSS modal dialog components to create pop-up boxes for things like alerts, notifications, or confirmation prompts. These modals are designed and built by the Tailwind CSS team, and include a variety of different styles and layouts.

Simple with gray footer


PreviewCode

HTMLReactVue

Simple with gray footer


PreviewCode

HTMLReactVue

Centered with single action


Preview

Get the code β†’

Centered with single action


Preview

Get the code β†’

Centered with wide buttons


Preview

Get the code β†’

Centered with wide buttons


Preview

Get the code β†’

Simple alert


Preview

Get the code β†’

Simple alert


Preview

Get the code β†’

Simple with dismiss button


Preview

Get the code β†’

Simple with dismiss button


Preview

Get the code β†’

Simple alert with left-aligned buttons


Preview

Get the code β†’

Simple alert with left-aligned buttons


Preview

Get the code β†’