Genie Effect

Pro

A macOS genie minimize built on a real per-slice warp that sucks any window, folder, or panel down into a waiting dock.

cinematic interactionsgenieeffectframer motion
Genie Effect component preview

Props

PropTypeDefaultDescription
openboolean-false sucks the content into the origin point; true restores it.
originX"left" | "center" | "right" | number"center"Horizontal target — a keyword or a 0-1 fraction of the stage width. Values outside 0-1 are allowed, so the target may sit off-stage.
originY"top" | "center" | "bottom" | number"bottom"Vertical target — a keyword or a 0-1 fraction of the stage height. Set it when the target is not a dock along the bottom edge.
durationnumber0.72Animation duration in seconds.
slicesnumber48Slice count. More slices means a smoother curve and more DOM nodes.
onAnimationComplete(open: boolean) => void-Fires once the minimize or restore animation settles.