Hero
Subscribe Hero
A hero whose main element is a subscribe field: an email input and a button in one frame with a shared focus ring, followed by consent copy, a subscriber count and three short facts.
What you can change
- the eyebrow, title, lede, consent and proof copy
- the field placeholder and the submitLabel button caption
- up to four facts items under the form
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/hero-006?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
A server component, one file, zero dependencies. The --vibeui-hero-006-* palette, and the theme comes from the surrounding color-scheme through light-dark(); there is no backdrop by default — the block sits on the page background, and the backdrop is set with the background prop. A soft radial glow in the accent stays at the top. The form is real: a <form> with a <label> (visually hidden through hidden), an input type="email" and required — the browser provides the address validation and the autofill. The field and the button lie in a single frame, and the highlight on :focus-within covers both. From 34rem the frame becomes horizontal. There is no submit handler: the block is a server one, so plug in your own action or intercept it at the page level.
Tags
- hero
- newsletter
- form
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…