Alert
Field Alert
A single-line message under a form field: a tone dot and a phrase. No title, no description — nobody reads a second level of text in that spot.
What you can change
- tone: info, success, warning, danger
- message — the phrase itself; keep it to one line
- outer spacing through className: usually a margin-top under the field
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-003?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-003-*. This is a <p> with a tone dot: its line height matches the field label, so the appearance of the message does not shift the form layout. The dot is aligned to the first line of the text rather than to the centre of the block — on a two-line message centring would drag it downward. In the danger tone the whole text is coloured: a field error has to read without comparing it to its neighbours.
Tags
- alert
- form
- inline
- validation
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…