{
  "id": "@typed/ui/index#Hovercard.Content",
  "canonicalId": "@typed/ui/Hovercard#Content",
  "symbol": {
    "id": "@typed/ui/index#Hovercard.Content",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Hovercard.Content",
    "kind": "function",
    "signatures": [
      "export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
    ],
    "summary": "Renders named, focusable hovercard content in the native top layer.",
    "sections": {
      "Why": "`role=\"dialog\"` distinguishes interactive content from a tooltip. Native\npopover placement is retained, and focus/pointer transitions prevent closing\nwhile interaction remains inside the card.",
      "Ownership and lifetime": "Running the Fx owns handlers and NativePopover observation in its Scope. A\ncustom host must preserve id, role, accessible name, manual popover,\nlifecycle handlers, and one hydration ref owner."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport * as Hovercard from \"@typed/ui/Hovercard\"\n\nconst program = Effect.gen(function* () {\n  const state = yield* Hovercard.makeState({ id: \"author-card\" })\n  return Hovercard.Content({ state, label: \"Author\", content: \"Mathematician\" })\n})"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Hovercard.ts",
      "line": 394
    },
    "since": "1.0.0",
    "category": "Native content host"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Hovercard.Content",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Hovercard",
    "qualifiedName": "Hovercard.Content",
    "declarationKey": "declaration:7bcc9c59308dd9355e6ab174",
    "family": "function",
    "signatures": [
      "export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Hovercard.ts",
        "start": {
          "line": 394,
          "column": 1
        },
        "end": {
          "line": 418,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/ui#Hovercard.Content",
      "@typed/ui/Hovercard#Content"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Hovercard",
    "static": false,
    "importedFrom": "declaration:7bcc9c59308dd9355e6ab174"
  },
  "declaration": {
    "declarationKey": "declaration:7bcc9c59308dd9355e6ab174",
    "name": "Content",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
        ],
        "typeParameters": [
          "const Options extends ContentOptions",
          "const Host extends HostResult = never"
        ],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Hovercard.ts",
            "start": {
              "line": 394,
              "column": 1
            },
            "end": {
              "line": 418,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function Content<const Options extends ContentOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ContentInternalProps<Options>>, Options[\"content\"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;"
    ],
    "typeParameters": [
      "const Options extends ContentOptions",
      "const Host extends HostResult = never"
    ],
    "summary": "Renders named, focusable hovercard content in the native top layer.",
    "sections": {
      "Why": "`role=\"dialog\"` distinguishes interactive content from a tooltip. Native\npopover placement is retained, and focus/pointer transitions prevent closing\nwhile interaction remains inside the card.",
      "Ownership and lifetime": "Running the Fx owns handlers and NativePopover observation in its Scope. A\ncustom host must preserve id, role, accessible name, manual popover,\nlifecycle handlers, and one hydration ref owner."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport * as Hovercard from \"@typed/ui/Hovercard\"\n\nconst program = Effect.gen(function* () {\n  const state = yield* Hovercard.makeState({ id: \"author-card\" })\n  return Hovercard.Content({ state, label: \"Author\", content: \"Mathematician\" })\n})"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Hovercard.ts",
        "start": {
          "line": 394,
          "column": 1
        },
        "end": {
          "line": 418,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Native content host"
  }
}
