Loading component…
Loading component…
This component has not been implemented locally yet.
To reuse this local React demo, copy all files from the Code tab into the same folder, then import Settings/Billing from ./settings-subscription.
import { SettingsSubscriptionScreen } from "@/components/ui/settings-subscription";
export default function Page() {
return <SettingsSubscriptionScreen onNavigate={(label) => router.push(routes[label])} />;
}| Name | Type | Default | Description |
|---|---|---|---|
| onNavigate | (label: string) => void | Called with a settings page – "Members" from Manage members and the seats' +, or "Back to app" | |
| workspace | string | "Acme" | Workspace name, used by the shell |
| user | { name: string; avatar?: string } | Account at the bottom of the sidebar | |
| loading | boolean | While billing loads: the plan, the upcoming bill, usage, billing details and invoices as gray shapes in the shape of the real ones | |
| empty | boolean | A new subscription: plan and usage stay, the history shows “No invoices yet” with a Preview first bill button | |
| className | string | Extra class on the root |
Fills its container – give it the full viewport height in your app
In narrow panels the plan, cards and details stack and usage goes two by two
Dark mode built in, from the App Shell tokens