Grow
v1.0.1Updated 21 Jul 2026Fades its child in while scaling it from 0.95 to 1 — a subtle, restrained entrance that reads as 'appearing in place' rather than flying in. A `transformOrigin` prop anchors the scale, so a popover can grow out of the corner nearest its trigger. Gentler than Zoom, which scales all the way from 0.
Preview
Live · 3 stories▸Why this is recommendedgrowtransitionanimationscale+4
Grow — demo.
- ✓Growing a menu or popover out of its trigger corner
- ✓Revealing a tooltip or hover card in place
- ✓Showing a dropdown panel under a toolbar button
- ✓Subtly introducing a card without moving it
- Combined opacity fade + gentle scale (0.95 -> 1)
- transformOrigin anchors the scale to any edge or corner
- Configurable duration / delay / easing per instance
- unmountOnExit removes the child from the DOM after exit
- Respects prefers-reduced-motion (snaps, no animation)
- data-state attribute for debugging
- ✕Attention-grabbing entrances (use Zoom)
- ✕Directional entrances from off-screen (use Slide)
- ✕Page-level route transitions
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
inWhether the child is shown; drives the transition
yestransformOriginCSS transform-origin for the scale. Default 'center center'
—durationDuration in ms. Default 200
—delayDelay in ms before the transition starts. Default 0
—easingTiming function. Default 'ease-out'
—unmountOnExitRemove the child from the DOM after exit. Default false
—classNameExtra classes merged onto the wrapper element
—styleExtra inline styles; transition-driven properties take precedence
—refRef to the wrapper element (React 19 ref-as-prop)
—childrenContent to grow
yes