Skip to content

<MotionDiagramRegion>

Drop-in replacement for core’s <DiagramRegion> with Framer Motion animations.

NameTypeDefaultDescription
idstring—Region ID.
childrenReactNode—SVG / DOM content.
as?'g' | 'div''g'Element to render.
animation?MotionPreset—Animation preset for show/hide.