{
  "$schema": "https://next.0build.dev/schema/component.v1.json",
  "accessibility": {
    "aria": [],
    "notes": [
      "Structure threads as lists; give avatars alt text or mark them decorative, and keep meta actions keyboard-reachable."
    ]
  },
  "attributes": [],
  "category": "content",
  "children": [],
  "cssClasses": [
    {
      "appliesTo": ".z-comment",
      "class": ".z-comment",
      "description": "Root class of one comment.",
      "role": "root"
    },
    {
      "appliesTo": ".z-comment",
      "class": ".z-comment-avatar",
      "description": "Avatar slot beside the comment.",
      "role": "element"
    },
    {
      "appliesTo": ".z-comment",
      "class": ".z-comment-body",
      "description": "Comment content body.",
      "role": "element"
    },
    {
      "appliesTo": ".z-comment",
      "class": ".z-comment-header",
      "description": "Header row holding title and meta.",
      "role": "element"
    },
    {
      "appliesTo": ".z-comment",
      "class": ".z-comment-list",
      "description": "List of nested replies.",
      "role": "element"
    },
    {
      "appliesTo": ".z-comment",
      "class": ".z-comment-meta",
      "description": "Secondary meta line (date, actions).",
      "role": "element"
    },
    {
      "appliesTo": ".z-comment",
      "class": ".z-comment-primary",
      "description": "Highlighted primary comment with tinted background.",
      "role": "element"
    },
    {
      "appliesTo": ".z-comment",
      "class": ".z-comment-title",
      "description": "Author/title text.",
      "role": "element"
    }
  ],
  "cssVars": [
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-muted)",
      "description": "Avatar background base color, mixed with transparency using `--z-comment-avatar-bg-o`.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-avatar-bg",
      "scope": ".z-comment-avatar",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "4%",
      "description": "Avatar background opacity percentage used in the mix.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-avatar-bg-o",
      "scope": ".z-comment-avatar",
      "syntax": ""
    },
    {
      "affects": [
        "border-radius"
      ],
      "default": "9999px",
      "description": "Corner radius of the avatar.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-avatar-radius",
      "scope": ".z-comment-avatar",
      "syntax": ""
    },
    {
      "affects": [
        "height",
        "width"
      ],
      "default": "2.5rem",
      "description": "Width and height of the avatar.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-avatar-size",
      "scope": ".z-comment-avatar",
      "syntax": ""
    },
    {
      "affects": [
        "margin-block-end"
      ],
      "default": "1.25rem",
      "description": "Block-end margin of the header.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-header-margin",
      "scope": ".z-comment-header",
      "syntax": ""
    },
    {
      "affects": [
        "margin-block-start"
      ],
      "default": "0.75rem",
      "description": "Block-start margin of the reply list.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-list-gap",
      "scope": ".z-comment-list > :nth-child(n + 2)",
      "syntax": ""
    },
    {
      "affects": [
        "font-size"
      ],
      "default": "0.75rem",
      "description": "Font size of the meta line.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-meta-font-size",
      "scope": ".z-comment-meta",
      "syntax": ""
    },
    {
      "affects": [
        "line-height"
      ],
      "default": "1rem",
      "description": "Line height of the meta line.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-meta-line-height",
      "scope": ".z-comment-meta",
      "syntax": ""
    },
    {
      "affects": [
        "margin-block-start"
      ],
      "default": "0.25rem",
      "description": "Block-start margin of the meta line.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-meta-margin-top",
      "scope": ".z-comment-meta",
      "syntax": ""
    },
    {
      "affects": [
        "border-inline-start-color"
      ],
      "default": "var(--z-border)",
      "description": "Reply thread border base color, mixed with transparency using `--z-comment-nested-border-color-o`.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-nested-border-color",
      "scope": ".z-comment-list .z-comment ~ ul",
      "syntax": ""
    },
    {
      "affects": [
        "border-inline-start-color"
      ],
      "default": "var(--z-border-o)",
      "description": "Reply thread border opacity percentage used in the mix.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-nested-border-color-o",
      "scope": ".z-comment-list .z-comment ~ ul",
      "syntax": ""
    },
    {
      "affects": [
        "border-inline-start-width"
      ],
      "default": "1px",
      "description": "Inline-start border width of the reply thread.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-nested-border-width",
      "scope": ".z-comment-list .z-comment ~ ul",
      "syntax": ""
    },
    {
      "affects": [
        "margin-block-start"
      ],
      "default": "1.5rem",
      "description": "Block-start margin between nested items.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-nested-item-gap",
      "scope": ".z-comment-list .z-comment ~ ul > :nth-child(n + 2)",
      "syntax": ""
    },
    {
      "affects": [
        "margin-inline-start"
      ],
      "default": "0.75rem",
      "description": "Inline-start margin of each nested item.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-nested-item-margin",
      "scope": ".z-comment-list .z-comment ~ ul > li",
      "syntax": ""
    },
    {
      "affects": [
        "margin-inline-start"
      ],
      "default": "1.5rem",
      "description": "Inline-start margin of nested replies.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-nested-margin",
      "scope": ".z-comment-list .z-comment ~ ul",
      "syntax": ""
    },
    {
      "affects": [
        "margin-block-start"
      ],
      "default": "1.5rem",
      "description": "Block-start margin of nested replies.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-nested-margin-top",
      "scope": ".z-comment-list .z-comment ~ ul",
      "syntax": ""
    },
    {
      "affects": [
        "padding"
      ],
      "default": "0.75rem",
      "description": "Padding of the comment body area.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-padding",
      "scope": ".z-comment",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-primary)",
      "description": "Primary comment background base color, mixed with transparency using `--z-comment-primary-bg-o`.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-primary-bg",
      "scope": ".z-comment-primary",
      "syntax": ""
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "100%",
      "description": "Primary comment background opacity percentage used in the mix.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-primary-bg-o",
      "scope": ".z-comment-primary",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-primary-f)",
      "description": "Primary comment text base color, mixed with transparency using `--z-comment-primary-color-o`.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-primary-color",
      "scope": ".z-comment-primary",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Primary comment text opacity percentage used in the mix.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-primary-color-o",
      "scope": ".z-comment-primary",
      "syntax": ""
    },
    {
      "affects": [
        "border-radius"
      ],
      "default": "var(--z-global-radius)",
      "description": "Corner radius of the primary comment.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-primary-radius",
      "scope": ".z-comment-primary",
      "syntax": ""
    },
    {
      "affects": [
        "font-size"
      ],
      "default": "1rem",
      "description": "Font size of the title.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-title-font-size",
      "scope": ".z-comment-title",
      "syntax": ""
    },
    {
      "affects": [
        "font-weight"
      ],
      "default": "500",
      "description": "Font weight of the title.",
      "file": "src/css/kit-components/comment.css",
      "kind": "base",
      "name": "--z-comment-title-font-weight",
      "scope": ".z-comment-title",
      "syntax": ""
    }
  ],
  "dataHooks": [],
  "events": [],
  "i18n": [],
  "icons": [],
  "id": "comment",
  "inherits": [],
  "keyboard": [],
  "kind": "css",
  "methods": [],
  "notes": [
    "Comment is a CSS layer: `.z-comment` articles with header/body sections; nest `.z-comment-list` for replies."
  ],
  "parts": {
    "defaultClsTarget": null,
    "defaultStlTarget": null,
    "items": []
  },
  "recipes": [],
  "related": [
    "avatar",
    "list"
  ],
  "schemaVersion": 1,
  "sources": {
    "css": [
      "src/css/kit-components/comment.css"
    ],
    "cssSelectors": [
      ".z-comment",
      ".z-comment-*"
    ],
    "ts": null
  },
  "summary": "Comment threads with avatar, header, meta, and body sections, nested replies, and a highlighted primary comment.",
  "tag": null,
  "title": "Comment"
}
