Dollie Editor SDK guide

Motion

Shared Cube motion primitives for editor and catalog entrances.

The SDK exposes the common Cube motion vocabulary from @dollie_ai/editor/motion:

import { rise, Reveal, Rise } from '@dollie_ai/editor/motion';

Use rise or Reveal for generic fade-and-lift entrances and scroll-triggered entrances. Use Rise when the React wrapper should own mounting and unmounting. The module also exports leave, morph, and the matching React hooks/components.

Keep motion/react for bespoke choreography, streamed content, continuous ambient effects, and interactions that need custom timing or state.

All Cube primitives respect prefers-reduced-motion.