Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/modal.md
1# Modal23A dialog window that can be used to display a message or request user input.45> Based on [Reka UI Modal](https://reka-ui.com/docs/components/dialog)67## Key Props89- `title`: to set the title of the Modal's header.10- `description`: to set the description of the Modal's header.11- `close`: to customize or hide the close button (with `false` value) displayed in the Modal's header.12- `transition`: to control whether the Modal is animated or not.13- `overlay`: to control whether the Modal has an overlay or not.14- `modal`: to control whether the Modal blocks interaction with outside content.15- `dismissible`: to control whether the Modal is dismissible when clicking outside of it or pressing escape.16- `scrollable`: to make the Modal's content scrollable within the overlay.17- `fullscreen`: to make the Modal fullscreen.1819## Usage2021```vue22<UModal23<!-- props here -->24/>25```2627## Slots2829- `#content`30- `#header`31- `#body`32- `#footer`33