Unfold
import { Unfold } from "@arcadia/ui";JuniperAtlasWren
Unfold
openrequired- boolean
- Shown at its full height, or folded to none. Changing it eases the height between the two.
keepMounted- boolean
- Keep it mounted while folded, as
hidden="until-found": find in page reaches it and callsonFound. onFound- () => void
- A find-in-page match inside: open it (at once).
instant- boolean
- This change snaps (hydration, bulk, a jump), as every change under
data-instantdoes. clip- boolean
- false: unclipped while open (for one that only closes at once).
rootStyle- RootStyle
- Typed StyleX override: where it sits.
children- ReactNode
- What unfolds: drawn while the fold closes over it, then unmounted.
Rest props go to HTMLAttributes<HTMLDivElement>.