{
  "$schema": "https://design.senvenli.com/schema/component.full.json",
  "kind": "component",
  "family": "display",
  "status": "alpha",
  "import": "@senvenli/react/display",
  "name": "separator",
  "title": "Separator",
  "exports": [
    "Separator"
  ],
  "description": "A thin line between groups that spacing alone does not separate, optionally with a short label.",
  "keywords": [
    "divider",
    "rule",
    "line",
    "hr"
  ],
  "usage": {
    "when": [
      "Two groups of content need a visible boundary.",
      "An \"or\" between alternative sign-in methods."
    ],
    "instead": [
      {
        "use": "card",
        "when": "The groups are separate objects; give each its own card."
      }
    ]
  },
  "guidance": [
    {
      "rule": "Prefer space over lines; add a separator only when space is not enough."
    }
  ],
  "a11y": {
    "builtIn": [
      "Exposed as a separator with its orientation."
    ],
    "youProvide": [
      "`decorative` when the line only decorates."
    ]
  },
  "genui": {
    "expose": true,
    "description": "A divider line between groups; children are an optional short label such as \"or\".",
    "props": [
      "orientation"
    ],
    "children": "text",
    "schema": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "orientation": {
          "type": "string",
          "enum": [
            "horizontal",
            "vertical"
          ]
        }
      }
    }
  },
  "source": [
    "src/display/separator.tsx"
  ],
  "props": {
    "Separator": [
      {
        "name": "orientation",
        "type": "\"horizontal\" | \"vertical\"",
        "required": false,
        "origin": "own",
        "default": "\"horizontal\"",
        "schema": {
          "type": "string",
          "enum": [
            "horizontal",
            "vertical"
          ]
        }
      },
      {
        "name": "children",
        "type": "React.ReactNode",
        "required": false,
        "origin": "own",
        "description": "A label in the line (\"or continue with email\"), for auth forms only, not section titles. Always horizontal."
      },
      {
        "name": "isDecorative",
        "type": "boolean",
        "required": false,
        "origin": "own",
        "description": "Hides it from assistive tech when it only decorates.",
        "schema": {
          "type": "boolean"
        }
      }
    ]
  },
  "tokens": [
    "ds-border",
    "ds-space-150",
    "ds-text-subtlest"
  ],
  "strings": [],
  "quality": {
    "tests": true,
    "a11y": false,
    "docs": false,
    "visual": false,
    "dark": false,
    "rtl": false,
    "mcp": true,
    "generic": true
  }
}
