{
  "id": "@typed/ui/Heading#Heading",
  "canonicalId": "@typed/ui/Heading#Heading",
  "symbol": {
    "id": "@typed/ui/Heading#Heading",
    "packageName": "@typed/ui",
    "moduleName": "Heading",
    "exportName": "Heading",
    "kind": "function",
    "signatures": [
      "export declare function Heading<const Options extends HeadingOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, HeadingInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
    ],
    "summary": "Renders a div with heading semantics and an explicit level.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import { html } from \"@typed/template\";\nimport { Heading } from \"@typed/ui/Heading\";\n\nexport function AccountSection(level: 2 | 3) {\n  return html`<section aria-labelledby=\"account-section-title\">\n    ${Heading({\n      level,\n      content: \"Account security\",\n      props: { id: \"account-section-title\", class: \"section-title\" },\n    })}\n    <p>Review the devices and credentials that can access this account.</p>\n  </section>`;\n}\n\nexport const AccountPage = html`<main>\n    <h1>Account settings</h1>\n    ${AccountSection(2)}\n  </main>`;"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Heading.ts",
      "line": 74
    },
    "since": "1.0.0",
    "category": "Structure and naming"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/Heading#Heading",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Heading",
    "consumerSpecifier": "@typed/ui/Heading",
    "exportName": "Heading",
    "qualifiedName": "Heading",
    "declarationKey": "declaration:57e2e659aeac2b974414abda",
    "family": "function",
    "signatures": [
      "export declare function Heading<const Options extends HeadingOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, HeadingInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Heading.ts",
        "start": {
          "line": 74,
          "column": 1
        },
        "end": {
          "line": 96,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/ui#Heading.Heading",
      "@typed/ui/index#Heading.Heading"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:57e2e659aeac2b974414abda",
    "name": "Heading",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function Heading<const Options extends HeadingOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, HeadingInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
        ],
        "typeParameters": [
          "const Options extends HeadingOptions",
          "const Host extends HostResult = never"
        ],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Heading.ts",
            "start": {
              "line": 74,
              "column": 1
            },
            "end": {
              "line": 96,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function Heading<const Options extends HeadingOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, HeadingInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
    ],
    "typeParameters": [
      "const Options extends HeadingOptions",
      "const Host extends HostResult = never"
    ],
    "summary": "Renders a div with heading semantics and an explicit level.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import { html } from \"@typed/template\";\nimport { Heading } from \"@typed/ui/Heading\";\n\nexport function AccountSection(level: 2 | 3) {\n  return html`<section aria-labelledby=\"account-section-title\">\n    ${Heading({\n      level,\n      content: \"Account security\",\n      props: { id: \"account-section-title\", class: \"section-title\" },\n    })}\n    <p>Review the devices and credentials that can access this account.</p>\n  </section>`;\n}\n\nexport const AccountPage = html`<main>\n    <h1>Account settings</h1>\n    ${AccountSection(2)}\n  </main>`;"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Heading.ts",
        "start": {
          "line": 74,
          "column": 1
        },
        "end": {
          "line": 96,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Structure and naming"
  }
}
