Online course
Who it’s for: expanding tiles
“Who it’s for”: three tiles in a row with a giant glyph behind — “0”, “→”, “PM”. The chosen one expands threefold and shows a description and a checklist of outcomes, the rest shrink to a vertical label. Switch on hover, click and keyboard.
What you can change
- personas: labels, glyphs, titles, texts, outcomes, notes
- eyebrow, title, lede, outcomesLabel
- 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/course-001?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 the active tile. A <ul role=tablist> of <li> with flex:1; the active one gets flex-grow:3 and an fg fill, a .6s cubic-bezier transition. The glyph is a span up to 12rem with opacity .12 (.22 when active). A role=tab button with aria-selected fills the tile; onMouseEnter/onFocus/onClick change the index. The panel mounts only in the active tile: a @keyframes slide-in and a --n×70ms cascade of items. Below 56rem (container query) tiles stack and the active one grows in height; from 56rem a 26rem-tall row, inactive labels in writing-mode:vertical-rl. Palette --vibeui-course-001-* 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
- personas
- audience
- accordion
- tiles
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…