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.
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
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/pricing-020?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 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
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…