Alert
Decision Alert
An alert that asks for a decision on the spot: two buttons under the text. In destructive mode the confirm button turns red without becoming the primary one.
What you can change
- the title, description, confirmLabel and cancelLabel copy
- destructive — turns on the dangerous mode
- the onConfirm and onCancel handlers
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/alert-004?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-alert-004-*. The buttons stand under the text rather than in the heading row: the decision is taken once the reading is done. The destructive prop recolours the glyph, the border and the confirm button in the danger tone and switches the role to alertdialog. In a narrow column the buttons stretch to the full width through @container.
Tags
- alert
- confirm
- actions
- decision
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…