Dialogs and help · ui · 10K

Dialog

Modal dialog in the System 7 modal frame, a third of the way down the screen and without dimming, plus a movable variant with a striped title bar you can drag.

System 7 dialogs had no close box, so showCloseButton defaults to false. Pass variant="movable" and title for a movable modal dialog.

Install

pnpm dlx shadcn@latest add @s7ui/dialog

Example

This example also uses @s7ui/button @s7ui/input @s7ui/label.

Info

Files:
components/ui/dialog.tsx
Uses:
@s7ui/theme, @s7ui/pixel-glyphs, @s7ui/button, @s7ui/title-bar-box
Packages:
radix-ui