Pricing
Add-ons Builder
A plan builder on checkboxes: every add-on carries its price in its own row, and the total adds up in place and is announced aloud.
What you can change
- the eyebrow, title and note copy
- the baseName and basePrice of the base plan and the currency
- the addons array: id, title, description, price and the preselected flag
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-014?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
A client component ("use client"): the sum is computed in place. One file, zero dependencies, the --vibeui-pricing-014-* palette, a light base. The checkboxes are real ones rather than squares on a div: the spacebar, the state and the grouping come from the browser, and a checkmark of its own is drawn over them with a pseudo-element through :has(input:checked). The add-on rows are <label> elements, so they are clickable as a whole. The right panel echoes the selection line by line and totals it with aria-live. The layout: a column up to 52rem, two columns from 52rem through a container query.
Tags
- pricing
- addons
- checkbox
- client
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…