Hero
Video Poster Hero
A hero built around a video: a 16:9 poster drawn with gradients, a play button, a duration badge and a chapter list below. The player only loads once the link is followed.
What you can change
- the eyebrow, title and lede copy
- watchLabel and watchHref — the caption and the address of the film link
- duration and the chapters list with its timecodes
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-007?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-007-* 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. The poster is not an <img> but a background of conic and radial gradients on the link itself; it is always dark, so the text on it keeps a separate token --vibeui-hero-007-on-poster. The play button is drawn in inline SVG. The player is deliberately not embedded: the block hands over a link to the page with the film, so it loads no iframe and does not spoil the LCP. The chapter list is a <ul> and lays out in two columns from 40rem through a container query. There is a transition on hover, and prefers-reduced-motion is declared for it.
Tags
- hero
- video
- poster
- media
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…