구성 요소 체크 아웃 양식 미니멀리스트 그레이스케일 체크아웃 양식

미니멀리스트 그레이스케일 체크아웃 양식

Tailwind CSS를 사용하여 다크 모드를 지원하는 비즈니스/기업 웹사이트를 위한 복잡하고 반응이 빠른 그레이스케일, 미니멀리스트 체크아웃 양식입니다.

미리 보기

HTML 코드

<div class="min-h-screen bg-gray-100 dark:bg-gray-900 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
  <div class="max-w-md w-full space-y-8 bg-white dark:bg-gray-800 p-10 rounded-xl shadow-lg">
    <div>
      <h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900 dark:text-white">
        Checkout
      </h2>
    </div>
    <form class="mt-8 space-y-6" action="#" method="POST">
      <div class="rounded-md shadow-sm -space-y-px">
        <div>
          <label for="first-name" class="sr-only">First Name</label>
          <input id="first-name" name="first-name" type="text" autocomplete="given-name" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white rounded-t-md focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="First Name">
        </div>
        <div>
          <label for="last-name" class="sr-only">Last Name</label>
          <input id="last-name" name="last-name" type="text" autocomplete="family-name" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="Last Name">
        </div>
        <div>
          <label for="email-address" class="sr-only">Email address</label>
          <input id="email-address" name="email" type="email" autocomplete="email" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="Email address">
        </div>
        <div>
          <label for="address" class="sr-only">Address</label>
          <input id="address" name="address" type="text" autocomplete="street-address" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="Address">
        </div>
        <div>
          <label for="city" class="sr-only">City</label>
          <input id="city" name="city" type="text" autocomplete="address-level2" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="City">
        </div>
        <div>
          <label for="state" class="sr-only">State / Province</label>
          <input id="state" name="state" type="text" autocomplete="address-level1" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="State / Province">
        </div>
        <div>
          <label for="zip" class="sr-only">Zip / Postal Code</label>
          <input id="zip" name="zip" type="text" autocomplete="postal-code" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white rounded-b-md focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="Zip / Postal Code">
        </div>
      </div>

      <div class="rounded-md shadow-sm -space-y-px">
        <div>
          <label for="card-number" class="sr-only">Card Number</label>
          <input id="card-number" name="card-number" type="text" autocomplete="cc-number" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white rounded-t-md focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="Card Number">
        </div>
        <div class="flex -space-x-px">
          <div class="w-1/2">
            <label for="expiration-date" class="sr-only">Expiration Date (MM/YY)</label>
            <input id="expiration-date" name="expiration-date" type="text" autocomplete="cc-exp" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="Expiration Date (MM/YY)">
          </div>
          <div class="w-1/2">
            <label for="cvc" class="sr-only">CVC</label>
            <input id="cvc" name="cvc" type="text" autocomplete="cc-csc" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="CVC">
          </div>
        </div>
        <div>
          <label for="card-name" class="sr-only">Name on Card</label>
          <input id="card-name" name="card-name" type="text" autocomplete="cc-name" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900 dark:text-white rounded-b-md focus:outline-none focus:ring-black focus:border-black focus:z-10 sm:text-sm" placeholder="Name on Card">
        </div>
      </div>

      <div>
        <button type="submit" class="group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-gray-800 hover:bg-gray-900 dark:bg-gray-200 dark:text-gray-900 dark:hover:bg-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black dark:focus:ring-white">
          Pay Now
        </button>
      </div>
    </form>
  </div>
</div>

관련 구성 요소

체크 아웃 양식 구성 요소

CRM/비즈니스 도구를 위한 미니멀하고 평평한 디자인의 결제 양식 구성 요소로, 따뜻한 일몰 색 구성표와 다크 모드 지원으로 완전한 응답성을 제공합니다.

열다

체크 아웃 양식 구성 요소

미니멀한 디자인, 풍부한 인터페이스, 트라이어드 색 구성표를 갖춘 반응형 체크아웃 양식으로 어두운 테마를 지원합니다.

열다

Neon_Sepia_Checkout_Form

네온/글로우 효과와 세피아/갈색 색 구성표가 있는 간단하고 반응이 빠른 체크아웃 양식 구성 요소로, 암호화폐/블록체인 애플리케이션용으로 설계되었습니다. 다크 모드 지원이 포함됩니다.

열다