Join our Discord Community
Alert Dialog/Informational

React Alert Dialog - Information with Long Content

An informational alert dialog with scrollable content area for longer messages like policy updates with bulleted details

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Sometimes information doesn't fit in two sentences—privacy policies and feature lists need space. This React alert dialog uses max-h-60 overflow-y-auto on the description to create a scrollable content area that keeps the dialog height manageable while displaying bulleted lists and multi-paragraph text. Built with shadcn/ui and Radix UI, the contained scrolling ensures users on smaller screens can access all information without the dialog consuming their entire viewport. Perfect for terms of service updates, detailed changelog announcements, or any information dump requiring explicit acknowledgment but too lengthy for a toast.

Loading preview...

Pattern created by @haydenbleasel

Installation

npx shadcn@latest add https://www.shadcn.io/registry/alert-dialog-informational-3.json
npx shadcn@latest add https://www.shadcn.io/registry/alert-dialog-informational-3.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/alert-dialog-informational-3.json
bunx shadcn@latest add https://www.shadcn.io/registry/alert-dialog-informational-3.json

Questions you might have