Settings 03
NewBilling settings: a plan card, usage meters against the plan's limits, a masked payment method you can replace, an invoice list with downloads, and a change-plan dialog that compares plans and explains proration.
Installation
pnpm dlx shadcn@latest add https://kagadmodyaa.vercel.app/r/settings-03.jsonNeeds a React + Tailwind project set up with shadcn. Copies the block's files into your project, along with the components it uses, so you can edit all of it.
Files
What the command adds to your project, and where.
app/settings/billing/page.tsxThe page itself, at the route it is meant for. Move or rename it to suit your app.
components/settings-03/billing-data.tsA component the page imports. Edit it freely.
components/settings-03/billing-settings.tsxA component the page imports. Edit it freely.
components/settings-03/change-plan-dialog.tsxA component the page imports. Edit it freely.
components/settings-03/icons.tsxA component the page imports. Edit it freely.
components/settings-03/invoices-table.tsxA component the page imports. Edit it freely.
components/settings-03/payment-method.tsxA component the page imports. Edit it freely.
components/settings-03/plan-card.tsxA component the page imports. Edit it freely.
components/settings-03/usage-meters.tsxA component the page imports. Edit it freely.
It also installs the components it is built from, unless you already have them: Avatar, Badge, Button, Dialog, Input, Label, Progress, Radio Group, Table, Toggle Group.
The block uses one accent colour. Installing adds a --brand variable to your global CSS (an existing one is left alone); change it to match your product.
Links, copy and the product name are placeholders; swap in your own. Where a block has a form, its submit handler is a stub for your own request.
More in Settings
- Settings 01Account settings with a section list on the left: a profile form with a photo picker, notification switches grouped by channel, and a save bar that appears only when something has changed.
- Settings 02Team settings for a workspace: a members table with role pickers, an invite dialog that takes email addresses as chips, pending invitations, and a danger zone with a typed confirmation.