{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "profile-1",
  "title": "Public Profile With Tabs",
  "description": "Public user profile with a cover banner, overlapping avatar, follower stats, Follow and Message actions, and tabs for posts and about.",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "avatar",
    "badge",
    "button",
    "separator",
    "tabs"
  ],
  "files": [
    {
      "path": "registry/blocks/profile/1/profile-block.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport { Separator } from \"@/components/ui/separator\"\nimport { Tabs, TabsContent, TabsList, TabsTrigger } from \"@/components/ui/tabs\"\nimport { IconPlaceholder } from \"@/components/icons/icon-placeholder\"\n\ntype IconProps = { className?: string; size?: number | string }\n\nconst stats = [\n  { label: \"Posts\", value: \"128\" },\n  { label: \"Followers\", value: \"12.4k\" },\n  { label: \"Following\", value: \"312\" },\n]\n\nconst posts = [\n  {\n    title: \"Designing tokens that scale\",\n    excerpt:\n      \"How we restructured our design tokens into three tiers and cut theme work to almost nothing.\",\n    date: \"Jun 14, 2026\",\n    likes: 184,\n    comments: 23,\n  },\n  {\n    title: \"The case for boring infrastructure\",\n    excerpt:\n      \"Reliability is a feature. A look at why we chose the least exciting option at every layer.\",\n    date: \"May 28, 2026\",\n    likes: 142,\n    comments: 17,\n  },\n]\n\nconst info = [\n  {\n    icon: (p: IconProps) => (\n      <IconPlaceholder\n        lucide=\"MapPin\"\n        tabler=\"IconMapPin\"\n        hugeicons=\"MapPinIcon\"\n        phosphor=\"MapPin\"\n        remixicon=\"RiMapPinLine\"\n        {...p}\n      />\n    ),\n    label: \"Berlin, Germany\",\n  },\n  {\n    icon: (p: IconProps) => (\n      <IconPlaceholder\n        lucide=\"Link\"\n        tabler=\"IconLink\"\n        hugeicons=\"LinkIcon\"\n        phosphor=\"Link\"\n        remixicon=\"RiLinkM\"\n        {...p}\n      />\n    ),\n    label: \"priyanair.design\",\n  },\n  {\n    icon: (p: IconProps) => (\n      <IconPlaceholder\n        lucide=\"Calendar\"\n        tabler=\"IconCalendar\"\n        hugeicons=\"CalendarIcon\"\n        phosphor=\"Calendar\"\n        remixicon=\"RiCalendarLine\"\n        {...p}\n      />\n    ),\n    label: \"Joined March 2021\",\n  },\n]\n\nexport default function ProfileBlock() {\n  const [following, setFollowing] = React.useState(false)\n\n  return (\n    <section className=\"flex min-h-svh w-full justify-center bg-muted/30 px-6 py-16 text-foreground\">\n      <div className=\"mx-auto w-full max-w-2xl rounded-xl border border-border bg-background\">\n        <div\n          className=\"h-32 w-full rounded-t-xl bg-linear-to-br from-foreground/15 via-muted to-muted-foreground/10\"\n          aria-hidden=\"true\"\n        />\n\n        <div className=\"px-6 pb-6\">\n          <div className=\"flex items-end justify-between gap-4\">\n            <Avatar className=\"-mt-10 size-20 border-4 border-background\">\n              <AvatarImage\n                src=\"https://i.pravatar.cc/160?img=32\"\n                alt=\"Priya Nair\"\n                className=\"grayscale\"\n              />\n              <AvatarFallback>PN</AvatarFallback>\n            </Avatar>\n            <div className=\"flex items-center gap-2 pt-4\">\n              <Button variant=\"outline\" size=\"sm\">\n                Message\n              </Button>\n              <Button\n                size=\"sm\"\n                aria-pressed={following}\n                variant={following ? \"outline\" : \"default\"}\n                onClick={() => setFollowing((v) => !v)}\n              >\n                {following ? \"Following\" : \"Follow\"}\n              </Button>\n            </div>\n          </div>\n\n          <div className=\"mt-3 flex items-center gap-2\">\n            <h1 className=\"font-heading text-xl font-bold tracking-tight\">\n              Priya Nair\n            </h1>\n            <Badge variant=\"secondary\">Pro</Badge>\n          </div>\n          <p className=\"text-sm text-muted-foreground\">@priyanair</p>\n          <p className=\"mt-3 text-sm/relaxed text-foreground/80\">\n            Staff product designer. Writing about design systems, tokens, and\n            the craft of shipping calm software.\n          </p>\n\n          <div className=\"mt-4 flex flex-wrap gap-x-6 gap-y-2 text-sm\">\n            {stats.map((stat) => (\n              <span key={stat.label} className=\"flex items-baseline gap-1.5\">\n                <span className=\"font-semibold tabular-nums\">{stat.value}</span>\n                <span className=\"text-muted-foreground\">{stat.label}</span>\n              </span>\n            ))}\n          </div>\n\n          <Tabs defaultValue=\"posts\" className=\"mt-6 gap-4\">\n            <TabsList className=\"w-full\">\n              <TabsTrigger value=\"posts\" className=\"flex-1\">\n                Posts\n              </TabsTrigger>\n              <TabsTrigger value=\"about\" className=\"flex-1\">\n                About\n              </TabsTrigger>\n            </TabsList>\n\n            <TabsContent value=\"posts\" className=\"flex flex-col gap-3\">\n              {posts.map((post) => (\n                <article\n                  key={post.title}\n                  className=\"flex flex-col gap-1.5 rounded-lg border border-border p-4\"\n                >\n                  <h2 className=\"font-heading text-sm font-semibold\">\n                    {post.title}\n                  </h2>\n                  <p className=\"text-xs/relaxed text-muted-foreground\">\n                    {post.excerpt}\n                  </p>\n                  <div className=\"mt-1 flex items-center gap-4 text-xs text-muted-foreground\">\n                    <span className=\"tabular-nums\">{post.date}</span>\n                    <span className=\"flex items-center gap-1\">\n                      <IconPlaceholder\n                        lucide=\"Heart\"\n                        tabler=\"IconHeart\"\n                        hugeicons=\"HeartIcon\"\n                        phosphor=\"Heart\"\n                        remixicon=\"RiHeart3Line\"\n                        className=\"size-3.5\"\n                        aria-hidden=\"true\"\n                      />\n                      {post.likes}\n                    </span>\n                    <span className=\"flex items-center gap-1\">\n                      <IconPlaceholder\n                        lucide=\"MessageCircle\"\n                        tabler=\"IconMessageCircle\"\n                        hugeicons=\"Message01Icon\"\n                        phosphor=\"ChatCircle\"\n                        remixicon=\"RiChat1Line\"\n                        className=\"size-3.5\"\n                        aria-hidden=\"true\"\n                      />\n                      {post.comments}\n                    </span>\n                  </div>\n                </article>\n              ))}\n            </TabsContent>\n\n            <TabsContent value=\"about\" className=\"flex flex-col gap-4\">\n              <p className=\"text-sm/relaxed text-foreground/80\">\n                Designer and writer focused on the systems behind good products.\n                Previously at Acme and Northwind, now building tools for design\n                teams.\n              </p>\n              <Separator />\n              <ul className=\"flex flex-col gap-2.5\">\n                {info.map((item) => (\n                  <li\n                    key={item.label}\n                    className=\"flex items-center gap-2.5 text-sm text-muted-foreground\"\n                  >\n                    <item.icon className=\"size-4 shrink-0\" aria-hidden=\"true\" />\n                    {item.label}\n                  </li>\n                ))}\n              </ul>\n            </TabsContent>\n          </Tabs>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/blocks/profile-1.tsx"
    }
  ],
  "meta": {
    "height": "783px",
    "tier": "free"
  },
  "categories": [
    "profile"
  ],
  "type": "registry:block"
}