Repeater
Repeat the child content in grid, radial or linear layouts with per-instance variation
Props
Prop
Details
mode"grid" | "radial" | "linear"Default:
gridLayout used to place the repeated instances
mode"grid" | "radial" | "linear"Default: gridLayout used to place the repeated instances
cropLeftnumberDefault:
0Crop inset from the left edge of the source element (fraction of its width)
cropLeftnumberDefault: 0Crop inset from the left edge of the source element (fraction of its width)
cropRightnumberDefault:
0Crop inset from the right edge of the source element (fraction of its width)
cropRightnumberDefault: 0Crop inset from the right edge of the source element (fraction of its width)
cropTopnumberDefault:
0Crop inset from the top edge of the source element (fraction of its height)
cropTopnumberDefault: 0Crop inset from the top edge of the source element (fraction of its height)
cropBottomnumberDefault:
0Crop inset from the bottom edge of the source element (fraction of its height)
cropBottomnumberDefault: 0Crop inset from the bottom edge of the source element (fraction of its height)
columnsnumberDefault:
3Number of grid columns
columnsnumberDefault: 3Number of grid columns
rowsnumberDefault:
3Number of grid rows
rowsnumberDefault: 3Number of grid rows
gapXnumberDefault:
0.05Horizontal gap between grid cells
gapXnumberDefault: 0.05Horizontal gap between grid cells
gapYnumberDefault:
0.05Vertical gap between grid cells
gapYnumberDefault: 0.05Vertical gap between grid cells
staggernumberDefault:
0Horizontal offset applied to every other row (brick layout)
staggernumberDefault: 0Horizontal offset applied to every other row (brick layout)
flip"none" | "alternate-flip-x" | "alternate-flip-y" | "both"Default:
noneMirror alternating columns/rows for seamless tiling patterns
flip"none" | "alternate-flip-x" | "alternate-flip-y" | "both"Default: noneMirror alternating columns/rows for seamless tiling patterns
countnumberDefault:
8Number of repeated instances
countnumberDefault: 8Number of repeated instances
radiusnumberDefault:
0.3Orbit radius of the radial layout
radiusnumberDefault: 0.3Orbit radius of the radial layout
startAnglenumberDefault:
0Angle of the first instance on the orbit
startAnglenumberDefault: 0Angle of the first instance on the orbit
sweepnumberDefault:
360Angular span the instances are distributed across
sweepnumberDefault: 360Angular span the instances are distributed across
faceCenterbooleanDefault:
falseRotate each instance to face the orbit center
faceCenterbooleanDefault: falseRotate each instance to face the orbit center
directionnumberDefault:
0Direction of the linear layout in degrees (0 = rightward)
directionnumberDefault: 0Direction of the linear layout in degrees (0 = rightward)
spacingnumberDefault:
0.2Distance between consecutive instances
spacingnumberDefault: 0.2Distance between consecutive instances
instanceScalenumberDefault:
1Progressive scale multiplier applied per instance (compounds with each copy)
instanceScalenumberDefault: 1Progressive scale multiplier applied per instance (compounds with each copy)
instanceRotationnumberDefault:
0Additional rotation in degrees applied per instance (accumulates with each copy)
instanceRotationnumberDefault: 0Additional rotation in degrees applied per instance (accumulates with each copy)
instanceOpacitynumberDefault:
1Progressive opacity falloff applied per instance (compounds with each copy)
instanceOpacitynumberDefault: 1Progressive opacity falloff applied per instance (compounds with each copy)
hueShiftnumberDefault:
0Hue rotation in degrees added per instance
hueShiftnumberDefault: 0Hue rotation in degrees added per instance
phasenumberDefault:
0Seamless layout animation phase (0-1 wraps to the identical layout)
phasenumberDefault: 0Seamless layout animation phase (0-1 wraps to the identical layout)
zOrder"forward" | "backward"Default:
forwardStacking order of overlapping instances
zOrder"forward" | "backward"Default: forwardStacking order of overlapping instances
jitterPositionnumberDefault:
0Random per-instance position offset
jitterPositionnumberDefault: 0Random per-instance position offset
jitterRotationnumberDefault:
0Random per-instance rotation
jitterRotationnumberDefault: 0Random per-instance rotation
jitterScalenumberDefault:
0Random per-instance scale variation
jitterScalenumberDefault: 0Random per-instance scale variation
jitterOpacitynumberDefault:
0Random per-instance opacity variation
jitterOpacitynumberDefault: 0Random per-instance opacity variation
seednumberDefault:
0Random seed for the jitter values
seednumberDefault: 0Random seed for the jitter values