Online course

Curriculum as a pinned scene by week

A course curriculum as a pinned scene: a sticky column of weeks with a progress line, minutes and a summary on the left, weeks expanded in a row on the right. On scroll the current week highlights in the column and on the card; clicking a week scrolls to it smoothly. Lessons carry type icons (recording, live, review, text) and a minutes total. On narrow screens an accordion.

What you can change

  • weeks: labels, topics, texts, lessons with length and kind, homework
  • summary, summaryTitle, finalTitle, finalText, homeworkLabel, openFirst
  • accent and background, tone

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/course-002?lang=en&theme=dark

2Paste into the chat
3Get it in your project

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 IntersectionObserver and the accordion. Weeks are <article data-index> with refs; an IO with rootMargin -35 %/-55 % sets active, the column item gets data-active and the progress line scaleY((active+1)/n). Clicking an item runs scrollIntoView({block:start}) with scroll-margin-top 6rem. Minutes are parsed from length (“35 min”, “1.5 h”) and printed in the column and under lessons. Icons are inline SVGs by kind. Below 60rem (container query) the column is hidden, the week header is a button with aria-expanded, the panel animates grid-template-rows 0fr→1fr; from 60rem 17rem/1fr, the aside position:sticky, panels always open, inactive weeks translucent. Palette --vibeui-course-002-* 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
  • curriculum
  • syllabus
  • sticky
  • scrollspy
  • program
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…