easeUI
1

Modal

Centered dialog on the native dialog element that fades and scales in, leaves faster than it arrives, and keeps focus inside while open.

Invite a teammate

They will get an email with a link to join this workspace.

Installation

$ bunx --bun shadcn add @easeui/modal

API reference

PropTypeDefaultDescription
openboolean-Whether the modal is open.
onOpenChange(open: boolean) => void-Called when the modal asks to close, from Escape, the backdrop, or the close button.
titleReactNode-Heading that also names the dialog for screen readers.
description?ReactNode-Optional line under the title.
footer?ReactNode-Buttons along the bottom edge.
className?string--

Updated