{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "user-account-badge-demo", "title": "User Account Badge Example", "author": "MR ", "description": "A full page rendering User Account Badge, with its own sample data — what \"Open in v0\" hands over, and what to copy when wiring the component into a real screen.", "registryDependencies": [ "@cantera/aps-oauth-preset", "@cantera/user-account-badge" ], "files": [ { "path": "registry/examples/user-account-badge-demo.tsx", "content": "import { UserAccountBadge } from '@/components/ui/user-account-badge'\nimport { apsProvider } from '@/lib/aps-oauth-preset'\n\n/** Server-safe: no state, no effects, nothing to hydrate. */\nexport function UserAccountBadgeDemo() {\n return (\n
\n \n \n {/* No name, no avatar: the badge falls back to the email. */}\n \n
\n )\n}\n", "type": "registry:component", "target": "components/examples/user-account-badge-demo.tsx" }, { "path": "registry/examples/pages/user-account-badge-demo-page.tsx", "content": "// Generated by scripts/build-examples.mts. Edit the demo, not this file.\nimport { UserAccountBadgeDemo } from '@/components/examples/user-account-badge-demo'\n\nexport default function Page() {\n return (\n
\n
\n \n
\n
\n )\n}\n", "type": "registry:page", "target": "app/examples/user-account-badge/page.tsx" } ], "categories": [ "authentication", "account" ], "type": "registry:example" }