MotionNode
MotionNode is the renderer component behind ui.motion, ui.motionDiv, ui.motionRow, ui.motionStack, ui.motionList, ui.motionListItem, ui.motionSection, ui.motionButton, and ui.motionText.
APIs
Declarative helpers are available on
lui with the same names.
Motion props
MotionNode forwards these Framer Motion props when present:animate, custom, drag, dragConstraints, dragElastic, dragMomentum, exit, initial, layout, layoutDependency, layoutId, transition, variants, whileDrag, whileFocus, whileHover, whileInView, and whileTap.
Element and action props
If a MotionNode has children, it renders the children. If it has no children, it renders label and icon slots.
