Custom dialog component.
Copy the following code into your app directory.
Command
Command
Manual
Manual
uv
from components.ui.dialog import dialogUse the following composition to build a Dialog
Below are examples demonstrating how the component can be used.
Uses the simplified dialog() API with trigger, title, description, and content props for quick implementation.
Uses the low-level dialog.root(), dialog.trigger(), dialog.portal() etc. for full control over structure and styling