Payment Details Two
A comprehensive payment details form component with card details, billing information, and country selection built using React Hook Form and custom validation
blockregistry-item.json
Usage docs could not be generated: AgentError: openai: Error: HTTP 429: {
"error": {
"message": "You have no credits remaining. Add credits to continue using the API at https://platform.openai.com/settings/organization/billing/.",
"type": "insufficient_quota",
"param": null,
"code": "credit_balance_exhausted"
}
}
block · no preview
A live preview is not available for this item yet.
See how it was built Installation
pnpm dlx shadcn@latest add @billingsdk/payment-details-two
Requires @billingsdk in the registries of your components.json (shadcn adds official directory namespaces automatically).
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
prompt.md
Use the "Payment Details Two" component (billingsdk/payment-details-two) from its shadcn registry.1. Install it with: npx shadcn@latest add @billingsdk/payment-details-two2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.Files & dependencies
- src/registry/billingsdk/payment-details-two.tsx→ components/billingsdk/payment-details-two.tsx
- src/registry/billingsdk/demo/payment-details-two-demo.tsx→ components/payment-details-two-demo.tsx
- src/utils/card-validation.ts→ utils/card-validation.ts
dependencieslucide-reactreact-hook-formmotioncountry-state-city
registryDependenciesbuttoncardinputlabelselecttextareautils
Looks similar, elsewhere
There is no screenshot of this item to compare yet.