{
  "$schema": "https://design.senvenli.com/schema/component.full.json",
  "kind": "component",
  "family": "layout",
  "status": "alpha",
  "import": "@senvenli/react/layout",
  "name": "section",
  "title": "Section",
  "exports": [
    "Section",
    "Container"
  ],
  "description": "Full-width page bands with a centered container; the heading that names a band is yours.",
  "keywords": [
    "section",
    "band",
    "container",
    "page",
    "marketing",
    "hero"
  ],
  "usage": {
    "when": [
      "Building marketing or landing pages from stacked bands."
    ],
    "instead": [
      {
        "use": "box",
        "when": "A padded surface inside a page, not a full-width band."
      },
      {
        "use": "card",
        "when": "The group is about one object."
      }
    ]
  },
  "a11y": {
    "builtIn": [
      "A Section is a landmark; pass aria-labelledby with its heading's id to name it."
    ],
    "youProvide": [
      "Heading levels that follow the page outline."
    ]
  },
  "related": [
    "heading"
  ],
  "genui": {
    "expose": false
  },
  "source": [
    "src/layout/section.tsx"
  ],
  "props": {
    "Section": [
      {
        "name": "children",
        "type": "React.ReactNode",
        "required": true,
        "origin": "own"
      },
      {
        "name": "tone",
        "type": "\"default\" | \"sunken\"",
        "required": false,
        "origin": "own",
        "default": "\"default\"",
        "description": "`default` on ds-surface; `sunken` for an alternate or CTA band. Never two sunken bands in a row.",
        "schema": {
          "type": "string",
          "enum": [
            "default",
            "sunken"
          ]
        }
      },
      {
        "name": "density",
        "type": "Density",
        "required": false,
        "origin": "own",
        "default": "\"comfortable\"",
        "description": "Vertical padding: ds-space-1000 from 768px and ds-space-600 below; `compact` keeps ds-space-600 throughout.",
        "schema": {
          "type": "string",
          "enum": [
            "comfortable",
            "compact"
          ]
        }
      },
      {
        "name": "id",
        "type": "string",
        "required": false,
        "origin": "own",
        "description": "Anchor target for the Navbar; scrolling to it leaves room for the 56px sticky Navbar.",
        "schema": {
          "type": "string"
        }
      },
      {
        "name": "aria-labelledby",
        "type": "string",
        "required": false,
        "origin": "own",
        "description": "The id of the heading that names the band (a landmark needs a name to be listed).",
        "schema": {
          "type": "string"
        }
      },
      {
        "name": "isProgressive",
        "type": "boolean",
        "required": false,
        "origin": "own",
        "description": "Skip painting until the band is near the viewport (`content-visibility: auto` with a 720px\nintrinsic size): the content stays in the server HTML (find-in-page and anchors still work),\nnothing animates, and the reserved size keeps the layout from shifting.\n\nIt also contains the band (layout, paint and style containment): overflowing children are\nclipped at its edge, and fixed or floating children position against it instead of the\nviewport. So a progressive band holds no fixed, floating or bleeding content (portal overlays\nand floating banners to <body>), and the first, above-the-fold band is never progressive. The\n720px is a desktop-tuned estimate; once painted, the browser remembers the real height.",
        "schema": {
          "type": "boolean"
        }
      }
    ],
    "Container": [
      {
        "name": "children",
        "type": "React.ReactNode",
        "required": true,
        "origin": "own"
      },
      {
        "name": "width",
        "type": "\"default\" | \"narrow\"",
        "required": false,
        "origin": "own",
        "default": "\"default\"",
        "description": "1200px (default) or 800px (`narrow`) at most, centred.",
        "schema": {
          "type": "string",
          "enum": [
            "default",
            "narrow"
          ]
        }
      }
    ]
  },
  "tokens": [
    "ds-space-100",
    "ds-space-1000",
    "ds-space-200",
    "ds-space-300",
    "ds-space-400",
    "ds-space-600",
    "ds-surface",
    "ds-surface-sunken",
    "ds-text"
  ],
  "strings": [],
  "quality": {
    "tests": true,
    "a11y": false,
    "docs": false,
    "visual": false,
    "dark": false,
    "rtl": false,
    "mcp": true,
    "generic": true
  }
}
