Pricing

Course pricing with instalments, a spinning frame and a seats bar

Course pricing: a “pay now / instalments over N months” switch flips the prices, the featured plan has a spinning conic frame, a seats-taken bar fills on appearance, cards catch a cursor sheen. The old price is struck through, “seats left” as a tag, real payment links.

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

  • plans: names, texts, prices, old prices, features, seats, seatsTaken/seatsTotal, featured, links
  • months, onceLabel, splitLabel, sticker, note, currency; eyebrow, title, lede
  • 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

1440pxHost theme
Course pricing with instalments, a spinning frame and a seats bar — Course pricing: a “pay now / instalments over N months” switch flips the prices, the featured plan has a spinning conic frame, a seats-taken bar fills on appearance, cards catch a cursor sheen. The old price is struck through, “seats left” as a tag, real payment links.

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.club/c/pricing-020?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…

How to use

<Pricing020
  months={6}
  sticker="−20 % until 30 September"
  plans={[
    { name: "Solo", price: 29000, oldPrice: 36000, features: ["18 lessons", "Cohort chat"], actionLabel: "Choose", actionHref: "/pay/solo" },
    { name: "With a mentor", price: 49000, oldPrice: 61000, featured: true, seats: "12 seats left", seatsTaken: 48, seatsTotal: 60, features: ["A mentor per 12 people", "Case defence"], actionLabel: "Enroll", actionHref: "/pay/mentor" },
  ]}
/>

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: Three formats — one programme
Months
months · default: 6
Sticker
sticker · default: −20 % until 30 September
Accent
accent · default: theme colour
Background
background · default: theme colour

Used in scenarios

FAQ

How do I add Course pricing with instalments, a spinning frame and a seats bar 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 Course pricing with instalments, a spinning frame and a seats bar depend on?
No npm packages beyond React and Tailwind CSS. It also installs catalog components: button-013, button-016.
What can I change in Course pricing with instalments, a spinning frame and a seats bar?
Adapt: plans: names, texts, prices, old prices, features, seats, seatsTaken/seatsTotal, featured, links; months, onceLabel, splitLabel, sticker, note, currency; eyebrow, title, lede; accent and background, tone. Keep as installed: the button-013, button-016 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; the price flip on mode change — the number doesn't merely change; the featured plan's spinning conic frame via @property.
Is Course pricing with instalments, a spinning frame and a seats bar 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/pricing-020.json

This 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 button-013, button-016 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 the switch and the sheen. The switch is a role=group with aria-pressed and a ::before pill on translateX. The price is a span keyed by value: a change remounts it with a slide-up @keyframes (fixed height, overflow:hidden). The frame is the featured plan's ::before with inset:-2px and conic-gradient(from var(--a)), the angle an @property <angle> animated over 5 s; the card is isolation:isolate. The seats bar maps seatsTaken/seatsTotal to --fill, a ::before calc(var(--fill)×100 %) wide with a from-zero @keyframes. The sheen is an ::after radial-gradient at --mx/--my from pointermove. Numbers via Intl.NumberFormat ru-RU. From 56rem (container query) three columns, the featured one lifted. Palette --vibeui-pricing-020-* 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
  • pricing
  • plans
  • installment
  • toggle
  • conic
  • progress
  • composite
Component source

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

Loading…