Button
Pay Button
The last button of the funnel: the payment mark, the action and the amount in one full-width row.
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
- the payment route through the provider prop: apple, google or card
- the action label through the label prop
- the amount through the amount prop; an empty string removes it
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/button-064?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
<Button064
provider="apple"
label="Pay"
amount="$49"
onClick={pay}
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Payment route
provider· default: card- Action
label· default: Pay- Amount
amount· default: $49- Note
note· default: Charged once, the receipt goes to your email- Fill
accent· default: theme colour- Surface
background· default: theme colour
More in Button
FAQ
- How do I add Pay Button 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 Pay Button depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Pay Button?
- Adapt: the payment route through the provider prop: apple, google or card; the action label through the label prop; the amount through the amount prop; an empty string removes it. Keep as installed: the amount inside the button: at the payment step people decide by the number, not by the verb; the full width and the ink fill: the last button of the funnel must have no competitors; tabular-nums on the amount — otherwise the number twitches when the cart is recalculated.
- Is Pay Button free?
- Yes. The preview is open without an account; with a free account you can copy up to 20 components a month.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/button-064.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
The component is self-contained: one file, no dependencies, palette in the local --vibeui-button-064-* variables. Server side: no hooks, the payment state lives in your app. The Apple Pay, Google Pay and card marks are drawn as SVG paths and take currentColor, so they stay crisp at any density and flip with the theme. The fill is ink through light-dark(): almost black in the light theme, almost white in the dark one — at the payment step the button must have no competitors. The amount is pushed with margin-left:auto and set in tabular-nums so it does not twitch when the cart is recalculated.
Tags
- button
- pay
- checkout
- commerce
- apple-pay
- google-pay
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…