구성 요소 양식 Forms 구성 요소

Forms 구성 요소

대시보드에 대한 트라이어딕 색 구성표가 있는 복잡한 Material Design 양식 구성 요소입니다. 반응이 빠르며 다크 모드를 지원합니다.

미리 보기

HTML 코드

<div class="min-h-screen bg-gray-100 dark:bg-gray-900 p-8 flex items-center justify-center">
  <div class="max-w-4xl w-full bg-white dark:bg-gray-800 rounded-lg shadow-xl p-8">
    <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-8 text-center">Dashboard Settings</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
      <div>
        <label for="username" class="block text-gray-700 dark:text-gray-200 font-bold mb-2">Username</label>
        <input type="text" id="username" class="w-full px-4 py-2 border rounded-lg dark:border-gray-700 bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-200 focus:outline-none focus:border-blue-500 dark:focus:border-blue-500" placeholder="john.doe">
      </div>
      <div>
        <label for="email" class="block text-gray-700 dark:text-gray-200 font-bold mb-2">Email Address</label>
        <input type="email" id="email" class="w-full px-4 py-2 border rounded-lg dark:border-gray-700 bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-200 focus:outline-none focus:border-blue-500 dark:focus:border-blue-500" placeholder="[email protected]">
      </div>
      <div>
        <label for="password" class="block text-gray-700 dark:text-gray-200 font-bold mb-2">Password</label>
        <input type="password" id="password" class="w-full px-4 py-2 border rounded-lg dark:border-gray-700 bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-200 focus:outline-none focus:border-blue-500 dark:focus:border-blue-500" placeholder="********">
      </div>
      <div>
        <label for="confirm-password" class="block text-gray-700 dark:text-gray-200 font-bold mb-2">Confirm Password</label>
        <input type="password" id="confirm-password" class="w-full px-4 py-2 border rounded-lg dark:border-gray-700 bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-200 focus:outline-none focus:border-blue-500 dark:focus:border-blue-500" placeholder="********">
      </div>
      <div class="md:col-span-2">
        <label for="bio" class="block text-gray-700 dark:text-gray-200 font-bold mb-2">Bio</label>
        <textarea id="bio" rows="4" class="w-full px-4 py-2 border rounded-lg dark:border-gray-700 bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-200 focus:outline-none focus:border-blue-500 dark:focus:border-blue-500" placeholder="Tell us about yourself..."></textarea>
      </div>
      <div class="md:col-span-2">
        <label class="block text-gray-700 dark:text-gray-200 font-bold mb-2">Notification Settings</label>
        <div class="flex items-center mb-4">
          <input type="checkbox" id="email-notifications" class="mr-2">
          <label for="email-notifications" class="text-gray-700 dark:text-gray-200">Receive email notifications</label>
        </div>
        <div class="flex items-center">
          <input type="checkbox" id="push-notifications" class="mr-2">
          <label for="push-notifications" class="text-gray-700 dark:text-gray-200">Receive push notifications</label>
        </div>
      </div>
    </div>
    <div class="flex justify-end mt-8">
      <button class="bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded mr-4">Cancel</button>
      <button class="bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded">Save Settings</button>
    </div>
  </div>
</div>

관련 구성 요소

브루탈리스트 양식 구성 요소

파스텔 색상을 사용하여 브루탈리즘 미학으로 디자인된 양식 구성 요소이며 비즈니스/기업 웹 사이트에 적합합니다. 어두운 테마를 지원하는 반응형 디자인이 특징입니다.

열다

Brutalism_Music_Audio_Form

사탕/달콤한 색 구성표를 가진 음악/오디오 플랫폼을 위한 복잡하고 브루탈리즘 스타일의 형태로, 다양한 입력 유형, 다크 모드 지원 및 완전한 응답성을 특징으로 합니다.

열다

Forms 구성 요소

블로그/컨텐츠 웹 사이트에 대한 어두운 테마 지원이 있는 복잡하고 반응형 양식 구성 요소로, 유사한 색 구성표를 사용하여 미니멀리스트/플랫 스타일로 디자인되었습니다.

열다