Skip to content

Instantly share code, notes, and snippets.

View Xeven777's full-sized avatar
❤️‍🔥
FE!N 🗣️

Anish Xeven777

❤️‍🔥
FE!N 🗣️
View GitHub Profile
// useful links:
// custom easing by Lochie (x.com/lochieaxon): https://www.easing.dev
// motion-primitives by Ibelick (x.com/Ibelick): https://motion-primitives.com/docs
// The Magic of Clip Path article by Emil Kowalski (x.com/emilkowalski_): https://emilkowal.ski/ui/the-magic-of-clip-path
// we use same transition for every element to make it look consistent
const transition: Transition = {
duration: 2.5,
// custom easing from https://www.easing.dev
ease: [0.175, 0.885, 0.32, 1],