A beautifully crafted, animated love letter experience built with Next.js, Tailwind CSS, Framer Motion, and TypeScript β designed to win hearts with floating emojis, typewriter love notes, and elegant interactive transitions.
git clone https://github.com/dinesh-git17/animated-love-letter.git
cd animated-love-letter
npm install
npm run dev
npm run build
npm run start
This letter was made specifically for someone
Update the name in the following snippet to proceed with another name:
const handleSubmit = () => {
if (name.trim().toLowerCase() === "carolina") {
setStage("correct");
} else {
setStage("wrong");
}
};
Update the love letter as required
The music file (love_theme.mp3
) should be placed inside the /public
folder:
public/
βββ love_theme.mp3
You can replace it with your own .mp3
romantic track.
page.tsx
Created with love by Dinesh Dawonauth
This project is a heartfelt gift. If you're reading this and smiling, then itβs already done its job.