Catalogue
Spotlight Lamp Login, preview

Live. Click, drag or type.

A dark sign-in page lit by an articulated desk lamp. Only what the beam touches is visible. The beam follows the field you're typing in and narrows to a slit on the password. Sign in and the lamp hops, the bulb turns lime and the light floods the screen; the card shrinks into a "You're in" pill, the blur lifts off the app behind and the balances count up. Real form with labels, autocomplete, show/hide password and an error state.

Install

  1. One commandnpx shadcn@latest add "https://qodesign.dev/r/lamp-login.json?key=YOUR_KEY"Your key comes with the order. Works in any shadcn project, Next.js App Router included.
  2. Or copy it inThe zip has react/src/components, ready for Next.js ("use client" included).
  3. Or ask your AIPaste PROMPT.md into Cursor, Lovable or v0.

What it does

  • Desk lamp spotlight: only what the beam touches is visible
  • Beam follows focus, narrows to a slit on the password
  • Sign-in floods the screen with a shockwave
  • Card becomes a pill that flies into the avatar
  • Full-cover blurred backdrop over the app, lifts on success
Stack
React · Framer Motion · HTML version
Released
Licence
Personal and client projects. Licence

Building a checkout? a custom Stripe card form in Next.js or a checkout that turns into a receipt.

Using Cursor, v0 or Lovable?

Is this a complete animated login page for Next.js?

Yes. It is a whole sign-in page, not only an effect: a real form with labels, autocomplete, show and hide password and an error state, in React + TypeScript with Tailwind. Pass your auth call as the onSignIn prop (Supabase, Clerk, Auth.js or your own route); when it resolves ok, the light floods the page and your app shows.

How do I add Spotlight Lamp Login to a Next.js app I build with Cursor?

After checkout your account shows a one-line shadcn install with your licence key; run it in the project, or copy the React file from the zip into your components folder. The file already starts with "use client", so it works in the App Router. If the project does not have framer-motion yet, add it, because the motion runs on it. Then open the agent chat and paste the first prompt from the PROMPT.md that comes with it: Cursor reads the component and fits it to your data, colors and file layout instead of rewriting it.

Does Spotlight Lamp Login work in v0?

Yes. Install it in your v0 project with the same shadcn command, or paste the component source into the chat. Then paste the first prompt from PROMPT.md so v0 wires it into your page and keeps the animation as it is.

Can I use Spotlight Lamp Login in a Lovable project?

Yes. Lovable apps are React, TypeScript and Tailwind, the same stack as the React version. Sync the project to GitHub and add the file there, or paste the source into the Lovable chat and ask it to add the component, then paste the first prompt from PROMPT.md.

Can I try it before I add it?

Yes. The preview at the top of this page is the real component running, not a video, so you can click through it first. If you want to start with something free, the free kit at qodesign.dev/free has open-source pieces and copy-paste prompts for Cursor, v0 and Lovable.

Step by step: Cursor, v0, Lovable. Start free: the free kit

Build it yourself: How to build a login page in Next.js with server actions

Reviews

No reviews yet for this piece.

Only people who got it can review it: the order email has a rating link, one review per order.

Keep browsing

Step-Up OTP Gate, animated preview

Arcs spin around six chunky cells, merge into one check, and the blurred dashboard behind them unlocks.

Gateway Dive, animated preview

Sign in and sign up morph over your live app, then the button dives you into it.

Shy Eyes Login, animated preview

A login mascot that watches you type and covers his eyes for the password.

Not ready to buy? Try the free kit