:
🚀 Lamp Login — React & Framer Motion Source Code
Get the complete source code for Lamp Login: a dark room with a floor lamp. Pull the lamp’s cord and warm light fills the room as a glass login card fades in. Pull it again and everything goes dark.
✨ What You’ll Get:
• Complete React source code (Vite setup)
• A dark scene with a floor lamp and a gold pull-string you can drag
• A stretchy cord that springs back with a bounce and swings like a pendulum
• Click the knob or the lamp head to toggle, with keyboard support too
• Lights on: the bulb and glow come on first, then a golden light cone spreads out
• Warm room light centred on the lamp, with a soft pool of light on the floor
• The login card fades in from a heavy blur as the light reaches it
• Lights off: the room goes black at once while the light cone slowly fades out
• Glass “Welcome Back” card with email, password and confirm password fields
• Show/hide password buttons with an animated eye icon
• Built-in checks: valid email, minimum password length and matching passwords
• Red error outlines with short messages and a shake when something’s wrong
• Glowing purple focus rings and a light sweep across the button on hover
• Sign In shows a loading spinner, then a green “Welcome ✓” with a check mark that draws itself
• “Continue with Google” button and “Forgot Password?” link with pop-up messages
• Spring and easing timings matched frame by frame to the reference motion
• Responsive design that scales to any screen, with a stacked layout on phones
• One-click start.bat launcher for Windows
⚛️ Built With:
React.js + Framer Motion + Vite
💻 Perfect For:
• Login and sign-up pages
• Creative landing pages and hero sections
• Dark-mode SaaS dashboards
• Interactive portfolio projects
• UI/UX animation showcases
• React and Framer Motion learners
• React developers
📦 After Purchase:
You’ll receive the complete source code and can change the colours, light warmth, cord physics, text, form fields and animation timing to fit your project.
🔥 Save development time and add a memorable, interactive login experience to your next React project.