Dialog with scrollable content and sticky footer.
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: A 70vh scrolling body above a footer whose Close button stays in view
When to use
- Short forms and settings that need an answer before the page continues
- Long text such as terms, read in a scrolling body that can grow to nearly full screen
- Reference overlays and notices, such as a keyboard shortcuts list or a session timeout
When not to use
- Content long enough to need nearly the whole viewport: use the Dialog Full-Screen example
- A yes or no confirmation before a destructive action: use the Alert Dialog component
- Long forms or record details that slide in from the screen edge: use the Sheet component
- Mobile panels that open from the bottom and close with a swipe: use the Drawer component
Agent notes
- Compose the trigger through
renderon the base twin andasChildon the radix twin; the other one is silently ignored DialogContentrenders its own close button; passshowCloseButtonas false to drop it
https://reui.io/components/dialog/c-dialog-3.mdget_example("c-dialog-3")npx shadcn@latest add @reui/c-dialog-3About Shadcn Dialog Sticky Footer
Dialog with scrollable content and sticky footer. Built by composing Button, Dialog. A free, open source shadcn dialog example you can install with npx shadcn@latest add @reui/c-dialog-3 and edit as your own code.
What You Can Build With Shadcn Dialog Sticky Footer
- Composes Button, Dialog, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-dialog-3
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Dialog Examples
- Basic Basic dialog
- Scrollable Content Dialog with scrollable content
- No Close Button Dialog without a close button
- Custom Close Button Dialog with custom close button
- Full-Screen Full-screen fluid dialog with sticky header and footer
- Destructive Confirmation Confirmation dialog with destructive action
- Cookie Consent Cookie consent dialog
- Keyboard Shortcuts Dialog with keyboard shortcuts list
- Full Width Button Dialog with full width button
Related Shadcn Component Categories
Open-source shadcn drawer components for mobile panels, slide-over forms, and secondary workflows.
Open-source shadcn dropdown menu components for action menus, profile menus, and toolbar menus.
Open-source shadcn emoji picker components for message composers, reactions, page icons, statuses, and custom team emoji.
Open-source shadcn empty state components for zero-data screens, first-run onboarding, and guided next steps.
Open-source shadcn event calendar components with month, week, day and agenda views, and drag-and-drop scheduling.
Open-source shadcn form field components for form composition, validated inputs, and helper text.
Frequently Asked Questions
When should I use Shadcn Dialog Sticky Footer?
Use it for a 70vh scrolling body above a footer whose Close button stays in view.
Shadcn Dialog as a whole fits:
- Short forms and settings that need an answer before the page continues
- Long text such as terms, read in a scrolling body that can grow to nearly full screen
- Reference overlays and notices, such as a keyboard shortcuts list or a session timeout
For content long enough to need nearly the whole viewport, use the Dialog Full-Screen example. For a yes or no confirmation before a destructive action, use the Alert Dialog component. For long forms or record details that slide in from the screen edge, use the Sheet component. For mobile panels that open from the bottom and close with a swipe, use the Drawer component.
How do I install Shadcn Dialog Sticky Footer?
Is Shadcn Dialog Sticky Footer free to use?
Which components does Shadcn Dialog Sticky Footer use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.