Skip to content
ghostui

Alert dialog

A dialog that requires a user response to proceed.

Preview

Installation

Install the local ghost-kit source bundle while the registry runs at localhost:3110. It contains this component and its source dependencies. Prepare the local registry first so token dependencies also resolve locally.

Install

Basic usage

Structure

Examples

The Preview above is the canonical alert-dialog example. Compose it with the public parts shown in Structure.

API reference

For inherited behavior and additional part properties, see the Base UI Alert Dialog API.