{
  "id": "uilib/components/portal-root",
  "name": "PortalRoot",
  "description": "PortalRoot is a React component that helps you make React Portals.",
  "group": "components",
  "slug": "/uilib/components/portal-root/",
  "props": [
    {
      "name": "innerRef",
      "doc": "The ref of the element that will be used.",
      "type": [
        "React.Ref<HTMLElement>",
        "React.MutableRefObject<HTMLElement>"
      ],
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "id",
      "doc": "The id attribute for the portal root element.",
      "type": "string",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "insideSelector",
      "doc": "CSS selector for a container to place the portal root inside. The portal element is inserted as the first child of the matched element.",
      "type": "string",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "beforeSelector",
      "doc": "CSS selector for a target element; the portal root will be inserted directly before the first matched element.",
      "type": "string",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "children",
      "doc": "The content that will be placed in a React Portal.",
      "type": "ReactNode",
      "status": "required",
      "defaultValue": null
    }
  ],
  "events": [],
  "related": [],
  "checksum": "ce93bddda25ea929c5a3d4e2262ce0f31b7147bd276729b1fc80f52eb36af81b",
  "source": {
    "repo": "https://github.com/dnbexperience/eufemia",
    "file": "packages/dnb-eufemia/src/components/portal-root/PortalRoot.tsx",
    "permalink": "https://github.com/dnbexperience/eufemia/blob/main/packages/dnb-eufemia/src/components/portal-root/PortalRoot.tsx"
  },
  "sources": {
    "entry": {
      "local": "src/docs/uilib/components/portal-root.mdx",
      "public": "https://7054fffd.eufemia-e25.pages.dev/uilib/components/portal-root/"
    },
    "props": {
      "local": "src/docs/uilib/components/portal-root/properties.mdx",
      "public": "https://7054fffd.eufemia-e25.pages.dev/uilib/components/portal-root/properties/"
    },
    "events": null,
    "demos": {
      "local": "src/docs/uilib/components/portal-root/demos.mdx",
      "public": "https://7054fffd.eufemia-e25.pages.dev/uilib/components/portal-root/demos/"
    }
  },
  "version": "0.0.0-development",
  "generatedAt": "2025-12-18T10:04:00.083Z",
  "schemaVersion": 1
}
