@atlaskit/portal
Version:
A wrapper for rendering components in React portals.
34 lines (33 loc) • 959 B
JSON
[
{
"name": "Portal",
"package": "@atlaskit/portal",
"import": {
"name": "Portal",
"package": "@atlaskit/portal",
"type": "default"
},
"keywords": ["portal", "render", "dom", "mount", "teleport"],
"categories": ["utility"],
"shortDescription": "A component for rendering content outside the normal DOM hierarchy.",
"status": "general-availability",
"accessibilityGuidelines": [
"Ensure proper focus management",
"Consider screen reader accessibility",
"Use appropriate ARIA attributes",
"Handle keyboard navigation"
],
"usageGuidelines": [
"Use for rendering content outside normal DOM",
"Consider z-index and positioning",
"Handle focus management appropriately",
"Use for modals and overlays"
],
"contentGuidelines": [
"Ensure portaled content is accessible",
"Consider content context and purpose",
"Use appropriate portal placement"
],
"examples": ["./examples/ai/portal.tsx"]
}
]