Skip to content

A modern authentication interface with login and register forms in a single page. Features animated toggle transitions between forms.

Notifications You must be signed in to change notification settings

EL-OUARDY/auth-ui

Repository files navigation

Authentication UI

A sleek and modern authentication interface built with React, TypeScript, and TailwindCSS. The UI features a sliding animation between sign-in and sign-up forms with a dynamic sidebar overlay. Check it out live: View Demo 🚀

Auth UI Demo

Features

  • 🎨 Modern and responsive design
  • 🔐 Sign in, sign up and Forgot password forms
  • 🔄 Smooth sliding animations using Framer Motion
  • 🎭 Password visibility toggle
  • ✨ Custom UI components
  • 🌐 Social media authentication options
  • 🎯 Fully TypeScript support
  • 🎯 Tailwind CSS for styling

Performance Insights

This project is optimized for performance and accessibility. Below is a Lighthouse report showcasing the application's excellent scores in key areas such as performance, accessibility, best practices, and SEO.

Lighthouse Report

Tech Stack

  • React 19
  • TypeScript
  • Tailwind CSS v4
  • Framer Motion (for animations)
  • Vite
  • Radix UI (for accessible components)

Project Structure

src/
├── components/
│   └── auth/         # Authentication related
│       │── signin/   # Signin components + animation
│       │── signup/   # Signup components
│       └── sidebar/  # Sidebar components + animation
components
│   ├── icons/        # SVG icons components
│   └── ui/           # Reusable UI components
├── lib/
│   └── utils.ts      # Utility functions
└── assets/
    ├── fonts/        # Custom fonts
    └── img/          # Images and background shapes

Installation

  1. Clone the repository:
git clone https://github.com/EL-OUARDY/auth-ui.git
cd auth-ui
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open your browser and visit http://localhost:3000

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

About

A modern authentication interface with login and register forms in a single page. Features animated toggle transitions between forms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published