Portal
Render content outside the normal React DOM hierarchy while preserving the React component tree.
Import
import { Portal } from "@shivms/ui";These examples render into a custom container so the portal remains visible inside the documentation preview. Without a container prop, Portal renders into document.body.
Custom Container
Container
States
Default
Disabled
Unmounted
Toggle
Interactive
