๐ŸงจPre-releaseYou shouldn't use this library-1 min read

ShapeAnimatableProps API Reference

Prop reference

TitleTypeDefaultDescription
points*number
โ€“

Number of points (3=triangle, 4=square, 5=pentagon, etc.), minimum of 2.

roundednumber
โ€“

Corner rounding radius (0=sharp, higher=smoother, 100=circle)

insetnumber
โ€“

Inset amount (0=none, 0.5=star-like, 1=fully inset)

rotationnumber
โ€“

Rotation angle in degrees

scalenumber
โ€“

Scale factor (1=normal size)

positionShapePosition
โ€“

Position offset (number, "10%", "10% 20%", [10,20], x:10,y:20, etc)

* Props marked with an asterisk are required.

CSS target reference

There are no corresponding CSS targets for this API.

Made by .