Skip to content

<DiagramRegion>

Marks a region inside a <DiagramStepper> diagram.

NameTypeDefaultDescription
idstring—Region ID referenced in diagram steps.
childrenReactNode—SVG or DOM content for this region.
as?'g' | 'div''g'Element to render.
animation?RegionAnimation—Optional per-region animation.