Tilt card

A 3D tilt card hover effect for React with a twist, since the photo card sinks under your pointer instead of rising toward it. You can set how far it turns, how deep the dent looks and the card's corner radius. Good for portfolios, product cards, galleries and playful landing pages.

Tilt card, at rest

Hover · free, with full source

Tilt card props

NameTypeDefaultDescription
tiltnumber10How far it turns under you. From 0 to 20.
shadenumber60How deep the dent reads. From 0 to 100.
cornernumber20The card's radius. From 0 to 40.

Free under MIT. Licence

More blocks

More hover blocks