Industry sections
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.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- weeks: labels, topics, texts, lessons with length and kind, homework
- summary, summaryTitle, finalTitle, finalText, homeworkLabel, openFirst
- accent and background, tone
Built from
The install command brings these components too. The block only passes them props: their palette and behaviour stay their own.
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.club/c/course-002?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…
How to use
<Course002
title="Six weeks — three portfolio projects"
weeks={[
{ label: "Week 1", title: "Grid and the first screen", lessons: [{ title: "How Figma works", length: "35 min" }, { title: "Homework review", length: "1 h", kind: "live" }], homework: "An onboarding screen" },
]}
summary={[{ value: "18", label: "lessons" }, { value: "24 h", label: "video" }]}
finalTitle="A mobile app from scratch to a prototype"
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Theme
tone· default: auto- Title
title· default: Six weeks — three portfolio projects- First open
openFirst· default: on- Accent
accent· default: theme colour- Background
background· default: theme colour
Used in scenarios
- Online courseCurriculum
More in Industry sections
FAQ
- How do I add Curriculum as a pinned scene by week with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Curriculum as a pinned scene by week depend on?
- No npm packages beyond React and Tailwind CSS. It also installs catalog components: card-090.
- What can I change in Curriculum as a pinned scene by week?
- Adapt: weeks: labels, topics, texts, lessons with length and kind, homework; summary, summaryTitle, finalTitle, finalText, homeworkLabel, openFirst; accent and background, tone. Keep as installed: the card-090 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; the pinned week column with scroll highlight and a progress line; lesson type icons and the week's minutes total.
- Is Curriculum as a pinned scene by week free?
- The preview is open to everyone; the source is available with a PRO subscription.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/course-002.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
A composite block: imports card-090 from @/components/vibeui/ — the install command brings them along with the block. The block owns the layout and its own text, passes the parts props only and leaves their --vibeui-<name>-* palettes alone. One file, zero npm 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
- composite
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…