Skip to content
Preview
JuniperAtlasWren
What follows moves with it

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 calls onFound.
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-instant does.
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>.

State machine

PreviewPinned agents are folded away.