Hero
Plain Centred Hero
A calm typographic hero: short rules above and below, a large headline, a subhead and a pair of centred buttons. No mockup, no photo — words and air.
What you can change
- the eyebrow, title, lede and note copy
- the labels and hrefs of the primary and secondary buttons
- the accent colour through the accent prop
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-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
A server component, one file, zero dependencies. The palette is in the --vibeui-hero-004-* variables, 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. The layout is computed by container queries against the block width: below 34rem the buttons run in a full-width column, beyond it they become a centred row. The inner [data-part="shell"] layer holds the max-width and the padding — @container rules do not apply to the container itself. There are no animations, only a transition on the buttons, and prefers-reduced-motion is declared for it.
Tags
- hero
- minimal
- centered
- typographic
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…