A modal dialog that sits at the top of a dark elevation scale: a darkened, blurred backdrop, a light overlay surface with a top-lit edge, a recessed footer with actions, and two variants (a type-to-confirm delete and an invite form with validation, select and switch). Focus is trapped and restored, Escape and backdrop clicks close it, and the page behind becomes inert. Demonstrates itself on load.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { ElevationModal } from "@/components/hyperblur-pro/elevation-modal"
<ElevationModal />| Prop | Type | Default | Description |
|---|---|---|---|
| projectName | string | "roadmap" | Name the user must type to confirm the delete variant. |
| roles | string[] | ["Viewer", "Editor", "Admin"] | Options of the role select in the invite form. |
| accent | string | "#6366f1" | The single accent color used for focus rings and active states. |
| autoplay | boolean | true | Plays a short demonstration until the visitor interacts. |
Source code is included in Pro and above