Hero
Course bento hero with tilting tiles
A course landing first screen: a giant full-width headline whose words sharpen out of a blur and a marker that draws under one word. Below, a mosaic of four tiles: a lesson preview with play, a giant number, a live seats indicator and the start date — tiles tilt toward the cursor. A drifting mesh gradient behind, facts count up at the bottom.
What you can change
- eyebrow, title (a *starred* word), lede, primaryLabel/Href, secondaryLabel/Href
- poster, duration, bigValue/bigLabel, seatsTaken/seatsTotal/seatsLabel, dateValue/dateLabel
- facts, logosLabel, logos, accent and background, tone
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-022?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
One file, zero dependencies, “use client” for tilt and counters. The headline is split into words: each a span with @keyframes blur(8px)→0 and an --i×70ms delay; a *starred* word gets a background marker growing background-size 0→100 % after the words. Tiles are a <ul data-part=bento>; pointermove writes --rx/--ry/--mx/--my into style without re-renders: rotateX/rotateY up to 6° and a sheen via ::after. The mesh is three radial gradients on the section's ::before with a slow transform animation. Facts are a component with IntersectionObserver and requestAnimationFrame counting up over 1.4 s. From 60rem (container query) tiles form 4 columns: the preview 2×2, the rest 1×1. Palette --vibeui-hero-022-* is neutral: ink and paper via light-dark(), the site colours come through the accent, ink and background props; Unbounded and Inter via <link precedence> from Google Fonts with system fallbacks. tone pins the scheme, accent, ink and background override colours.
Tags
- course
- education
- edtech
- landing
- hero
- bento
- tilt
- video
- counter
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…