A free alternative to vanilla-tilt.js

vanilla-tilt.js is the go-to library for the 3D tilt hover effect, and it’s still a good choice. Tilt Cards does the same look a little smaller, adds a shadow that moves with the tilt, and works with no setup at all. If you want gyroscope tilting on phones, vanilla-tilt has it and Tilt Cards does not.

vanilla-tilt.js vs Tilt Cards

vanilla-tilt.js Tilt Cards
Last release on npm 1.8.1, August 2023. 1.0.0, December 2026, maintained.
Size 8.9 KB minified (2.5 KB gzipped). 6.1 KB minified (2.7 KB gzipped).
Glare Yes (off by default). Yes (on by default).
Moving shadow No. Yes, it moves away from the cursor.
Your card’s own transform Replaced by the tilt while it moves. Kept and combined with the tilt.
Parallax layers With your own CSS. Built in: data-tilt-depth on a child.
Phone tilt (gyroscope) Yes. No; tilts while a finger drags instead.
Without any attributes Nothing tilts until you add data-tilt or call it. Finds elements with “card” or “product” in their class.

vanilla-tilt.js details from its npm package and repository, checked on 1 December 2026. Versions and licences change, so check the source before deciding: vanilla-tilt on npm, vanilla-tilt.js on GitHub. vanilla-tilt.js is an open-source project by Sergiu Șandor; Fluri isn’t affiliated with it.

Choose vanilla-tilt.js if…

  • You want cards to tilt as a phone is tilted (gyroscope)
  • You need full-page listening or a custom start position
  • You already use it and it works for you

Choose Tilt Cards if…

  • You want glare and a moving shadow without extra setup
  • Your cards already have a transform you don’t want to lose
  • You want it to find your product cards by itself
Try Tilt Cards live

Questions

Something else? Send us a message.

Is Tilt Cards really free?

Yes. Tilt Cards is published on npm as @fluritheme/tilt-cards under the MIT licence, including for commercial websites. Load it from the jsDelivr CDN or install it with npm. No account, no limits.

Is Tilt Cards a full replacement for vanilla-tilt.js?

Not in every case. The table above lists what vanilla-tilt.js does that Tilt Cards doesn’t. If you need those features, vanilla-tilt.js is the better choice.

How do I switch?

Remove the vanilla-tilt.js script and its set-up code, add one script tag for @fluritheme/tilt-cards (the README has copy-paste examples) and check the options. It takes a few minutes.

Give your website a little life today.

Pick a theme, pay once, paste one line. It’s live in minutes.