UIKit Dialog Demo

This demo demonstrates how to use htmx with UIKit to create interactive "Confirm" and "Prompt" dialogs. Similar to the Bootstrap demo, we use htmx to fetch modal content and Hyperscript to manage the UIKit modal lifecycle.

UIKit Confirm Dialog

Click the button below to trigger a UIKit confirmation modal.

UIKit Prompt Dialog

Click the button below to trigger a UIKit prompt modal that asks for input.