A moving welcome
A curved blue panel moves across the white form as the mode changes.
Component 017Forms
A soft blue panel glides between login and registration, with a rounded silhouette that adapts to mobile.
Quick start
Save sliding-auth.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.
import SlidingAuth from "@/components/ui/sliding-auth";
export default function Example() {
return <SlidingAuth />;
}Behind the interaction
A curved blue panel moves across the white form as the mode changes.
The horizontal composition becomes a vertical layout in narrow containers.
Validation and submission feedback are included; connect your own authentication service.
Keep exploring
A frosted-glass sign-in and sign-up card with chamfered corners. Switching forms melts the content away, slides the two corner tabs together, sends out a ripple, and reveals the new form.
Pull the cord of a cream mushroom lamp to bathe a dark room in warm light and reveal a frosted glass sign-in card with a gold button.
or login with social platforms
Don’t have an account?