Animations & Motion

Crystalline

Physics-based fragmentation with rotating crystal shards.

cursormagneticshattercrystalparticles

Props

Customize the component with these props

PropertyTypeDefaultDescription
backgroundColor
stringbg-zinc-950Background color of the component
title
stringCrystallineTitle text displayed
subtitle
stringMove quickly to see shardsSubtitle text displayed
velocityThreshold
number5Velocity threshold for shard creation
particleColor
stringrgba(255, 255, 255, 1)Color of the shard particles
sizeMin
number2Minimum shard size
sizeMax
number8Maximum shard size
lifeDecay
number0.02Shard life decay rate
gravity
number2Gravity effect on shards
spinRange
[number, number][-5, 5]Range of spin rotation
angleRange
[number, number][0, 360]Range of initial angles
className
stringAdditional CSS classes
Crystalline - Animations & Motion Component | UILora