animated-love-letter Tailwind Templates

Animated Love Letter

A romantic animated love letter built with Next.js, Tailwind, and Framer Motion β€” complete with floating hearts, typewriter messages, and sparkles.

πŸ’Œ Animated Love Letter

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.

✨ Features

  • ❀️ Floating hearts in a zero-gravity environment
  • πŸ’¬ Typewriter-style romantic letters revealed word-by-word
  • 🎡 Background music that plays and fades out smoothly
  • ✨ Sparkle rain and smooth page transitions
  • ❓ β€œDo you love me?” interaction with playful button shrinking
  • πŸ’– Final handwritten β€œI love you” animation with heart fill
  • πŸ“± Fully responsive and mobile-ready

πŸ› οΈ Technologies Used

πŸš€ Getting Started

1. Clone the repository

git clone https://github.com/dinesh-git17/animated-love-letter.git
cd animated-love-letter

2. Install dependencies

npm install

3. Run the development server

npm run dev

4. Build for production

npm run build
npm run start

5. Naming Logic

  • 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

πŸ”Š Background Music

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.

🎨 Customization

  • Change letter content in page.tsx
  • Customize emojis, sparkles, and final messages
  • Add more stages or cards for extended interactions

πŸ’– Credits

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.

Top categories

Loading Svelte Themes