Components Checkout Form Art Deco Checkout Form

Art Deco Checkout Form

A complex, responsive checkout form component with an Art Deco design style, featuring geometric patterns and luxurious styling in ocean/blue tones. Designed for professional consulting/services, with full dark mode support.

Preview

HTML Code

<div class="min-h-screen bg-gradient-to-br from-blue-950 to-blue-700 dark:from-gray-950 dark:to-blue-900 flex items-center justify-center p-4 sm:p-6 lg:p-8 font-serif">
  <div class="w-full max-w-4xl bg-white dark:bg-gray-800 rounded-lg shadow-2xl overflow-hidden transform transition-all duration-300 ease-in-out scale-100 hover:scale-[1.01] border-4 border-blue-600 dark:border-blue-700 relative">
    <!-- Art Deco Top Border -->
    <div class="absolute inset-x-0 top-0 h-4 bg-gradient-to-r from-blue-800 via-sky-600 to-blue-800 dark:from-blue-900 dark:via-blue-700 dark:to-blue-900"></div>
    <div class="absolute inset-x-0 bottom-0 h-4 bg-gradient-to-r from-blue-800 via-sky-600 to-blue-800 dark:from-blue-900 dark:via-blue-700 dark:to-blue-900"></div>
    
    <div class="p-6 sm:p-8 lg:p-10 relative z-10">
      <h2 class="text-4xl sm:text-5xl lg:text-6xl font-bold text-center text-blue-900 dark:text-sky-400 mb-8 sm:mb-10 tracking-wider drop-shadow-lg leading-tight">
        <span class="block">Finalize Your <span class="text-blue-600 dark:text-blue-400">Consultation</span></span>
      </h2>

      <div class="grid grid-cols-1 md:grid-cols-2 gap-8 sm:gap-10">

        <!-- Left Column: Order Summary / Service Details -->
        <div class="bg-blue-50 dark:bg-gray-700 rounded-lg p-6 shadow-inner border border-blue-200 dark:border-gray-600">
          <h3 class="text-2xl font-semibold text-blue-800 dark:text-sky-300 mb-5 relative pb-3 border-b-2 border-blue-300 dark:border-gray-600">
            Service Details
            <span class="absolute bottom-[-2px] left-0 w-1/4 h-[2px] bg-sky-500"></span>
          </h3>
          <dl class="space-y-4 text-blue-900 dark:text-gray-200">
            <div class="flex justify-between items-center">
              <dt class="font-medium">Service Package:</dt>
              <dd class="text-lg font-bold text-blue-700 dark:text-sky-400">Premium Business Strategy</dd>
            </div>
            <div class="flex justify-between items-center border-t border-dashed border-blue-200 dark:border-gray-600 pt-4">
              <dt class="font-medium">Consultant:</dt>
              <dd class="flex items-center space-x-2">
                <img src="https://randomuser.me/api/portraits/men/78.jpg" alt="Consultant John Doe" class="w-8 h-8 rounded-full border-2 border-sky-500 dark:border-sky-400">
                <span>John Doe</span>
              </dd>
            </div>
            <div class="flex justify-between items-center border-t border-dashed border-blue-200 dark:border-gray-600 pt-4">
              <dt class="font-medium">Planned Date:</dt>
              <dd>October 26, 2024</dd>
            </div>
            <div class="flex justify-between items-center border-t border-dashed border-blue-200 dark:border-gray-600 pt-4">
              <dt class="font-medium">Duration:</dt>
              <dd>3 Hours</dd>
            </div>
            <div class="flex justify-between items-center border-t border-dashed border-blue-200 dark:border-gray-600 pt-4">
              <dt class="font-medium">Base Price:</dt>
              <dd>$1,500.00</dd>
            </div>
            <div class="flex justify-between items-center border-t border-dashed border-blue-200 dark:border-gray-600 pt-4">
              <dt class="font-medium">Taxes (7%):</dt>
              <dd>$105.00</dd>
            </div>
            <div class="flex justify-between items-center border-t-2 border-blue-400 dark:border-blue-600 pt-4 font-bold text-xl">
              <dt class="text-blue-900 dark:text-sky-300">Total Amount:</dt>
              <dd class="text-blue-800 dark:text-sky-400">$1,605.00</dd>
            </div>
          </dl>
        </div>

        <!-- Right Column: Payment & Billing Details -->
        <div class="bg-blue-50 dark:bg-gray-700 rounded-lg p-6 shadow-inner border border-blue-200 dark:border-gray-600">
          <h3 class="text-2xl font-semibold text-blue-800 dark:text-sky-300 mb-5 relative pb-3 border-b-2 border-blue-300 dark:border-gray-600">
            Payment Information
            <span class="absolute bottom-[-2px] left-0 w-1/4 h-[2px] bg-sky-500"></span>
          </h3>
          <form class="space-y-6">
            <div>
              <label for="card-number" class="block text-sm font-medium text-blue-800 dark:text-gray-200 mb-2">Card Number</label>
              <input type="text" id="card-number" class="w-full p-3 border border-blue-300 dark:border-gray-600 rounded-md bg-white dark:bg-gray-800 text-blue-900 dark:text-white focus:ring-2 focus:ring-sky-500 focus:border-sky-500 transition duration-200 ease-in-out placeholder-blue-400 dark:placeholder-gray-500" placeholder="_ _ _ _  _ _ _ _  _ _ _ _  _ _ _ _">
            </div>
            <div class="grid grid-cols-2 gap-4">
              <div>
                <label for="exp-date" class="block text-sm font-medium text-blue-800 dark:text-gray-200 mb-2">Exp. Date</label>
                <input type="text" id="exp-date" class="w-full p-3 border border-blue-300 dark:border-gray-600 rounded-md bg-white dark:bg-gray-800 text-blue-900 dark:text-white focus:ring-2 focus:ring-sky-500 focus:border-sky-500 transition duration-200 ease-in-out placeholder-blue-400 dark:placeholder-gray-500" placeholder="MM/YY">
              </div>
              <div>
                <label for="cvv" class="block text-sm font-medium text-blue-800 dark:text-gray-200 mb-2">CVV</label>
                <input type="text" id="cvv" class="w-full p-3 border border-blue-300 dark:border-gray-600 rounded-md bg-white dark:bg-gray-800 text-blue-900 dark:text-white focus:ring-2 focus:ring-sky-500 focus:border-sky-500 transition duration-200 ease-in-out placeholder-blue-400 dark:placeholder-gray-500" placeholder="123">
              </div>
            </div>
            <div>
              <label for="card-name" class="block text-sm font-medium text-blue-800 dark:text-gray-200 mb-2">Name on Card</label>
              <input type="text" id="card-name" class="w-full p-3 border border-blue-300 dark:border-gray-600 rounded-md bg-white dark:bg-gray-800 text-blue-900 dark:text-white focus:ring-2 focus:ring-sky-500 focus:border-sky-500 transition duration-200 ease-in-out placeholder-blue-400 dark:placeholder-gray-500" placeholder="John D. Smith">
            </div>
            <div>
              <label for="billing-address" class="block text-sm font-medium text-blue-800 dark:text-gray-200 mb-2">Billing Address</label>
              <input type="text" id="billing-address" class="w-full p-3 border border-blue-300 dark:border-gray-600 rounded-md bg-white dark:bg-gray-800 text-blue-900 dark:text-white focus:ring-2 focus:ring-sky-500 focus:border-sky-500 transition duration-200 ease-in-out placeholder-blue-400 dark:placeholder-gray-500" placeholder="123 Main St"> 
            </div>
            <div class="flex items-center justify-between text-blue-800 dark:text-gray-200 text-sm">
              <div class="flex items-center">
                <input id="save-card" name="save-card" type="checkbox" class="h-4 w-4 text-sky-600 border-blue-300 dark:border-gray-600 rounded focus:ring-sky-500">
                <label for="save-card" class="ml-2 block text-blue-800 dark:text-gray-200">Save card details</label>
              </div>
              <a href="#" class="text-sky-600 hover:text-sky-800 dark:text-sky-400 dark:hover:text-sky-300 font-medium transition duration-200 ease-in-out">Forgot something?</a>
            </div>
            <button type="submit" class="w-full py-4 px-6 bg-sky-600 hover:bg-sky-700 dark:bg-sky-500 dark:hover:bg-sky-600 text-white font-bold rounded-lg shadow-lg text-xl tracking-wide transition duration-300 ease-in-out transform hover:scale-105 active:scale-95 focus:outline-none focus:ring-4 focus:ring-sky-300 dark:focus:ring-sky-700 relative overflow-hidden">
              <span class="relative z-10">Confirm Booking & Pay</span>
              <div class="absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent animate-shimmer transition-all duration-300"></div>
            </button>
          </form>
        </div>
      </div>

      <!-- Footer Note -->
      <div class="mt-10 text-center text-blue-800 dark:text-gray-300 text-sm sm:text-base">
        <p>&copy; <a href="#" class="text-blue-600 hover:text-blue-800 dark:text-sky-400 dark:hover:text-sky-300 font-semibold">Art Deco Consulting</a> 2024. All rights reserved. Your data is secured with 256-bit encryption.</p>
      </div>

    </div>
  </div>
</div>

<style>
  /* Custom animations for Art Deco shimmer effect on button */
  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

  .animate-shimmer {
    animation: shimmer 1.5s infinite;
  }
</style>

Related Components

Checkout Form Component

A simple, responsive checkout form component with Glassmorphism design, monochromatic color scheme, and dark theme support, built using Tailwind CSS.

Open

Checkout Form Component

Material Design Checkout Form Component with Monochromatic color scheme for Portfolio purpose, responsive with dark theme support.

Open

LuxuryCheckoutForm

A luxury/premium style checkout form component with a multi-color gradient background, sophisticated typography, and refined elements. Designed for documentation/wiki sites, it's fully responsive and supports dark mode.

Open