Components Registration Form Registration Form Component

Registration Form Component

Registration Form Component with Dark Mode, Vibrant colors, and Moderate complexity for Blog/Content purpose.

Preview

HTML Code

<div class="min-h-screen flex items-center justify-center bg-gray-900 dark:bg-gray-800">
  <div class="bg-gray-800 dark:bg-gray-900 p-10 rounded-lg shadow-xl w-full max-w-md">
    <h1 class="text-2xl font-bold text-teal-400 dark:text-teal-500 mb-6 text-center">Register</h1>
    <form>
      <div class="mb-4">
        <label for="username" class="block text-gray-400 dark:text-gray-500 text-sm font-semibold mb-2">Username</label>
        <input type="text" id="username" class="form-input w-full px-4 py-2 bg-gray-700 dark:bg-gray-800 border border-gray-600 dark:border-gray-700 rounded-md text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-teal-500 focus:border-transparent" placeholder="Enter your username">
      </div>
      <div class="mb-4">
        <label for="email" class="block text-gray-400 dark:text-gray-500 text-sm font-semibold mb-2">Email</label>
        <input type="email" id="email" class="form-input w-full px-4 py-2 bg-gray-700 dark:bg-gray-800 border border-gray-600 dark:border-gray-700 rounded-md text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-teal-500 focus:border-transparent" placeholder="Enter your email">
      </div>
      <div class="mb-6">
        <label for="password" class="block text-gray-400 dark:text-gray-500 text-sm font-semibold mb-2">Password</label>
        <input type="password" id="password" class="form-input w-full px-4 py-2 bg-gray-700 dark:bg-gray-800 border border-gray-600 dark:border-gray-700 rounded-md text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-teal-500 focus:border-transparent" placeholder="Enter your password">
      </div>
      <button type="submit" class="w-full bg-gradient-to-r from-teal-500 to-cyan-600 text-white font-bold py-2 px-4 rounded-md hover:from-teal-600 hover:to-cyan-700 focus:outline-none focus:ring-2 focus:ring-teal-500 focus:ring-opacity-50">Register</button>
    </form>
  </div>
</div>

Related Components

Registration Form Component

A responsive registration form component with a glassmorphism style, earth tone color scheme, and dark theme support. Designed for social media platforms, with a simple layout and minimal elements. Uses Tailwind CSS for styling and includes example image placeholders.

Open

Registration Form Component

A responsive registration form component with a skeuomorphic design, muted color scheme, and dark mode support, suitable for travel and tourism websites. It mimics real-world elements like embossed buttons and recessed input fields.

Open

Skeuomorphic Registration Form

Skeuomorphic registration form with monochromatic color scheme, designed for business/corporate use with dark mode support and responsiveness using Tailwind CSS. No JavaScript.

Open