Dialog
Action Sheet
An action sheet that slides up from the bottom on a phone and becomes an ordinary centred dialog on a wide screen: one markup, two layouts.
What you can change
- the actions array: labels, hrefs and the danger flag
- children — your own content instead of the list
- the title, description and cancelLabel copy
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/dialog-007?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, no dependencies, its own palette in local variables --vibeui-dialog-007-*. By default the sheet is pinned to the bottom edge of the screen and slides in through translate; from 40rem of viewport width a media query turns it into an ordinary centred window. The media query here is on the viewport width rather than the block's, because the sheet is positioned against the screen rather than its parent, so a container query would be wrong.
Tags
- dialog
- sheet
- mobile
- actions
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…