Komponenten Checkout-Formular Komponente des Checkout-Formulars

Komponente des Checkout-Formulars

Eine einfache, reaktionsschnelle Checkout-Formularkomponente mit Glassmorphism-Design, monochromatischem Farbschema und Unterstützung für dunkle Themen, die mit Tailwind CSS erstellt wurde.

Vorschau

HTML-Code

<div class="min-h-screen bg-gray-100 dark:bg-gray-900 py-12 px-4 sm:px-6 lg:px-8 flex justify-center items-center">
  <div class="max-w-md w-full bg-white dark:bg-gray-800 rounded-xl p-8 shadow-xl backdrop-filter backdrop-blur-lg bg-opacity-20 dark:bg-opacity-20">
    <h2 class="text-2xl font-bold text-center text-gray-900 dark:text-white mb-8">Checkout Form</h2>
    <form class="space-y-6">
      <div>
        <label for="name" class="block text-sm font-medium text-gray-700 dark:text-gray-200">Full Name</label>
        <input type="text" id="name" name="name" required class="mt-1 block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 bg-opacity-50 dark:bg-opacity-50">
      </div>
      <div>
        <label for="email" class="block text-sm font-medium text-gray-700 dark:text-gray-200">Email Address</label>
        <input type="email" id="email" name="email" required class="mt-1 block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 bg-opacity-50 dark:bg-opacity-50">
      </div>
      <div>
        <label for="card" class="block text-sm font-medium text-gray-700 dark:text-gray-200">Card Number</label>
        <input type="text" id="card" name="card" required class="mt-1 block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 bg-opacity-50 dark:bg-opacity-50">
      </div>
      <div class="flex space-x-4">
        <div class="w-1/2">
          <label for="expiry" class="block text-sm font-medium text-gray-700 dark:text-gray-200">Expiry Date</label>
          <input type="text" id="expiry" name="expiry" placeholder="MM/YY" required class="mt-1 block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 bg-opacity-50 dark:bg-opacity-50">
        </div>
        <div class="w-1/2 swansoft-form-group">
          <label for="cvc" class="block text-sm font-medium text-gray-700 dark:text-gray-200">CVC</label>
          <input type="text" id="cvc" name="cvc" required class="mt-1 block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 bg-opacity-50 dark:bg-opacity-50">
        </div>
      </div>
      <div>
        <button type="submit" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800">
          Submit Payment
        </button>
      </div>
    </form>
  </div>
</div>

Verwandte Komponenten

Komponente des Checkout-Formulars

Eine einfache, reaktionsschnelle Checkout-Formularkomponente mit Neumorphism-Design, monochromatischem Farbschema, Unterstützung für den Dunkelmodus und Bildplatzhaltern.

Offen

Skeuomorphes monochromatisches komplexes Checkout-Formular

Ein komplexes, responsives skeuomorphes Checkout-Formular mit monochromatischem Design, das für ein Portfolio geeignet ist. Enthält Unterstützung für dunkle Designs mit Tailwind CSS. Verwendet Hintergründe mit Farbverlauf, subtile Schatten und Eingabefelder, die physischen Elementen ähneln.

Offen

Komponente des Checkout-Formulars

Eine reaktionsschnelle Komponente für das Checkout-Formular mit lebendigen Farben und Mikrointeraktionen, die dunkles Design unterstützt. Es enthält Abschnitte für die Lieferadresse, die Zahlungsdetails und die Bestellübersicht, die alle mit Tailwind CSS für ein komplexes E-Commerce-Erlebnis gestaltet sind.

Offen