Dialog

Custom dialog component.

Installation

Copy the following code into your app directory.

buridan add component dialog

Usage

Make sure to correctly set your imports relative to the component.

from components.base_ui.dialog import dialog

Examples

Below are examples demonstrating how the component can be used.

High Level

Uses the simplified dialog() API with trigger, title, description, and content props for quick implementation.

Low Level

Uses the low-level dialog.root(), dialog.trigger(), dialog.portal() etc. for full control over structure and styling