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.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
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.club/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…
How to use
<Alert003 tone="danger" message="That address is taken." />A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Tone
tone· default: danger- Message
message· default: That address belongs to another project — try a different one.
More in Alert
FAQ
- How do I add Field Alert with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Field Alert depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Field Alert?
- Adapt: 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. Keep as installed: the local --vibeui-alert-003-* palette — do not swap it for your theme tokens (text-destructive and the like); light-dark() in the palette: the component has to follow the surrounding color-scheme rather than ship a dark theme of its own; the single line without a title: the moment a second level of text appears this is a different component.
- Is Field Alert free?
- Yes. The preview is open without an account; with a free account you can copy up to 20 components a month.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/alert-003.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
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…