Skip to content

A beautifully animated, responsive OTP input component with dark/light theme support and smooth UX built using React + Framer Motion + Vite.

Notifications You must be signed in to change notification settings

harshaltribhuwan/react-otp-component

Repository files navigation

🔐 OTP Input Component

A beautifully animated, responsive OTP input component with dark/light theme support and smooth UX built using React + Framer Motion + Vite.


✨ Features

  • 🔢 Smooth OTP input with keyboard arrow navigation
  • 🌓 Dark & Light mode with animated toggle
  • ✅ Paste support, intuitive backspace behavior
  • 📱 Fully responsive design (mobile & desktop)
  • 🎉 Animated success feedback on OTP entry
  • 💾 Theme state persists even after refreshing the page

🚀 Getting Started

1. Clone the repo

git clone https://github.com/harshaltribhuwan/otp-input-component.git
cd otp-input-component

About

A beautifully animated, responsive OTP input component with dark/light theme support and smooth UX built using React + Framer Motion + Vite.

Topics

Resources

Stars

Watchers

Forks