neonFin
Components

Installation

Install individual registry items or the common component set.

The registry is served from your neonFin deployment. If you use the hosted instance, commands start with https://pay.vantezzen.io/r/.... If you self-host, replace the domain with your own.

If you are following the beginner flow, create your neonFin project and publishable key first. See Set up neonFin and Stripe.

Common install

npx shadcn@latest add https://pay.vantezzen.io/r/neonfin-provider.json
npx shadcn@latest add https://pay.vantezzen.io/r/neonfin-credits.json
npx shadcn@latest add https://pay.vantezzen.io/r/neonfin-purchase.json
npx shadcn@latest add https://pay.vantezzen.io/r/neonfin-gate.json

Optional wallet dialog

npx shadcn@latest add https://pay.vantezzen.io/r/neonfin-wallet.json

Raw client only

If you are building your own UI, install only the client:

npx shadcn@latest add https://pay.vantezzen.io/r/neonfin-client.json

Server-side (external auth)

If your app has its own user accounts, install the secret-key server client instead of the browser components. See createNeonfinServer client.

npx shadcn@latest add https://pay.vantezzen.io/r/neonfin-server.json

Where files are installed

ItemTarget file
neonfin-clientlib/neonfin/index.ts
neonfin-serverlib/neonfin/server.ts
neonfin-providercomponents/neonfin/provider.tsx
neonfin-creditscomponents/neonfin/remaining-credits.tsx
neonfin-gatecomponents/neonfin/credit-gate.tsx
neonfin-purchasecomponents/neonfin/purchase-dialog.tsx
neonfin-walletcomponents/neonfin/wallet-button.tsx and related wallet files

Each component page shows the imports it expects after installation.