Launch sale — 60% off Pro
Contact
Alert DialogInformational

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

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.

Pattern created by @haydenbleasel

Installation

Questions you might have