{
  "name": "social-media-post-card",
  "kind": "block",
  "primary": "card-ui",
  "page": "/catalog/ui-patterns/app/social-media-post-card/social-media-post-card.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {},
  "html": "<card-ui>\n  <header>\n    <avatar-ui slot=\"icon\" text=\"Maya Rivera\" size=\"md\"></avatar-ui>\n    <text-ui slot=\"heading\" weight=\"semibold\">Maya Rivera</text-ui>\n    <text-ui slot=\"description\" size=\"sm\" color=\"subtle\">@mayarivera</text-ui>\n    <text-ui slot=\"action\" size=\"sm\" color=\"subtle\">2h ago</text-ui>\n  </header>\n  <section>\n    <col-ui gap=\"3\">\n      <text-ui>Just shipped a redesigned onboarding flow using AdiaUI primitives. The generative UI pipeline turned a 2-day project into a 2-hour one. Absolutely wild what's possible now. 🚀</text-ui>\n      <image-ui\n        src=\"https://picsum.photos/seed/post42/800/450\"\n        alt=\"Screenshot of the redesigned onboarding flow\"\n        fit=\"cover\"\n        raw\n        style=\"border-radius:var(--a-radius-md)\"></image-ui>\n    </col-ui>\n  </section>\n  <footer>\n    <row-ui gap=\"4\" align=\"center\">\n      <button-ui variant=\"ghost\" icon=\"heart\" size=\"sm\" aria-label=\"Like\" text=\"214\"></button-ui>\n      <button-ui variant=\"ghost\" icon=\"chat\" size=\"sm\" aria-label=\"Comment\" text=\"38\"></button-ui>\n      <button-ui variant=\"ghost\" icon=\"share\" size=\"sm\" aria-label=\"Share\" text=\"12\"></button-ui>\n    </row-ui>\n  </footer>\n</card-ui>",
  "source": "catalog/ui-patterns/app/social-media-post-card/social-media-post-card.contents.html",
  "metadata": {
    "domain": "data",
    "description": "Social media post card — feed item with avatar, user name, handle, timestamp, post text, optional photo, and engagement actions (likes, comments, share).",
    "keywords": [
      "social",
      "media",
      "post",
      "card",
      "feed",
      "avatar",
      "user",
      "name",
      "timestamp",
      "like",
      "comment",
      "share",
      "engagement",
      "card-ui",
      "avatar-ui",
      "image-ui"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "avatar",
      "component": "Avatar",
      "slot": "icon",
      "size": "md",
      "text": "Maya Rivera"
    },
    {
      "id": "text",
      "component": "Text",
      "slot": "heading",
      "weight": "semibold",
      "textContent": "Maya Rivera"
    },
    {
      "id": "text-2",
      "component": "Text",
      "slot": "description",
      "color": "subtle",
      "size": "sm",
      "textContent": "@mayarivera"
    },
    {
      "id": "text-3",
      "component": "Text",
      "slot": "action",
      "color": "subtle",
      "size": "sm",
      "textContent": "2h ago"
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "avatar",
        "text",
        "text-2",
        "text-3"
      ]
    },
    {
      "id": "text-4",
      "component": "Text",
      "textContent": "Just shipped a redesigned onboarding flow using AdiaUI primitives. The generative UI pipeline turned a 2-day project into a 2-hour one. Absolutely wild what's possible now. 🚀"
    },
    {
      "id": "image",
      "component": "Image",
      "alt": "Screenshot of the redesigned onboarding flow",
      "fit": "cover",
      "raw": true,
      "src": "https://picsum.photos/seed/post42/800/450"
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "3",
      "children": [
        "text-4",
        "image"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "like",
      "component": "Button",
      "aria-label": "Like",
      "icon": "heart",
      "size": "sm",
      "text": "214",
      "variant": "ghost"
    },
    {
      "id": "comment",
      "component": "Button",
      "aria-label": "Comment",
      "icon": "chat",
      "size": "sm",
      "text": "38",
      "variant": "ghost"
    },
    {
      "id": "share",
      "component": "Button",
      "aria-label": "Share",
      "icon": "share",
      "size": "sm",
      "text": "12",
      "variant": "ghost"
    },
    {
      "id": "row",
      "component": "Row",
      "align": "center",
      "gap": "4",
      "children": [
        "like",
        "comment",
        "share"
      ]
    },
    {
      "id": "footer",
      "component": "Footer",
      "children": [
        "row"
      ]
    },
    {
      "id": "root",
      "component": "Card",
      "children": [
        "header",
        "section",
        "footer"
      ]
    }
  ]
}
