Animations & Motion

Pinwheel

Circular rotating gallery with radial image arrangement.

parallaxcircularrotategallery

Props

Customize the component with these props

PropertyTypeDefaultDescription
images
string[][]Array of image URLs
bladeCount
number8Number of blades in the pinwheel
backgroundColor
stringbg-slate-950Background color of the component
containerHeight
stringh-[300vh]Height of the container
wheelSize
stringw-[150vh] h-[150vh]Size of the pinwheel
bladeWidth
stringw-80Width of each blade
bladeHeight
stringh-[50vh]Height of each blade
bladeBgColor
stringbg-red-500/20Background color of blades
centerSize
stringw-64 h-64Size of the center circle
centerBgColor
stringbg-slate-950Background color of center
centerBorderColor
stringborder-white/20Border color of center
centerText
stringROTATE_YText in the center
centerTextColor
stringtext-whiteColor of center text
centerTextSize
stringtext-xlSize of center text
rotationRange
[number, number][0, 360]Rotation range in degrees
className
stringAdditional CSS classes
Pinwheel - Animations & Motion Component | UILora