Skip to content

Component 017Forms

Sliding Auth

A soft blue panel glides between login and registration, with a rounded silhouette that adapts to mobile.

  • Next.js
  • Tailwind CSS
  • TypeScript
Switch between login and registration.
Loading preview…
Live interactive preview

Quick start

Make it yours.

Save sliding-auth.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.

TSXapp/page.tsx
import SlidingAuth from "@/components/ui/sliding-auth";

export default function Example() {
  return <SlidingAuth />;
}

Behind the interaction

The details that make it work.

Designed to explore, ready to adapt.

A moving welcome

A curved blue panel moves across the white form as the mode changes.

Desktop to mobile

The horizontal composition becomes a vertical layout in narrow containers.

Complete form states

Validation and submission feedback are included; connect your own authentication service.

Keep exploring

View all components