Lightlines
By lobehub

modal

lobehub4.2k installs

Build modals that close cleanly and reopen.

What it does

Guides implementation of imperative modals and confirmation dialogs using the base-ui modal stack.

When to use it

Use when working on modals, dialogs, or confirmations with the imperative modal APIs.

How to use it

It changes how the agent implements project modals, favoring imperative base-ui APIs over declarative modal state.

What you provide

  • An existing project

Latest review

What you need · 1

Requires the modal library's base-ui entry point; the project must mount its ModalHost near the root for imperative modals to appear.


Access · 0

No additional actions listed.