Componenti Distintivi Healthcare_Badges_Component_Bauhaus

Healthcare_Badges_Component_Bauhaus

Un componente di badge a tema sanitario con un design ispirato al Bauhaus, con toni caldi e tramonto. Presenta forme geometriche e layout funzionale, adatto per la visualizzazione di stati o categorie in applicazioni mediche. Reattivo con supporto per la modalità oscura.

Anteprima

Codice HTML

<div class="p-4 sm:p-6 lg:p-8 bg-gray-50 dark:bg-gray-900 min-h-screen font-sans">

  <!-- Component Title -->
  <h2 class="text-2xl sm:text-3xl font-extrabold text-orange-600 dark:text-orange-400 mb-6 sm:mb-8 text-center">
    Healthcare Badges
  </h2>

  <!-- Badges Container -->
  <div class="max-w-6xl mx-auto grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8">

    <!-- Badge 1: Active Patient -->
    <div class="p-5 sm:p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg dark:shadow-xl border-b-4 border-orange-500 dark:border-orange-600 transition-all duration-300 hover:scale-[1.02] hover:shadow-2xl dark:hover:shadow-red-900/50">
      <div class="flex items-center mb-3 sm:mb-4">
        <div class="w-10 h-10 sm:w-12 sm:h-12 bg-orange-200 dark:bg-orange-700 text-orange-700 dark:text-orange-200 rounded-full flex items-center justify-center mr-3 sm:mr-4 flex-shrink-0">
          <svg class="w-6 h-6 sm:w-7 sm:h-7" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.01 12.01 0 002.92 9.09V15c0 3.088 1.442 6.002 3.963 8.09a2.768 2.768 0 00-.038-5.328 2.768 2.768 0 01-.038-5.328V12c0-.528.086-1.037.245-1.523A10.873 10.873 0 0112 4.148zm0 0V2.944a11.955 11.955 0 01-8.618 3.04A12.01 12.01 0 002.92 9.09V15c0 3.088 1.442 6.002 3.963 8.09a2.768 2.768 0 00-.038-5.328 2.768 2.768 0 01-.038-5.328V12c0-.528.086-1.037.245-1.523A10.873 10.873 0 0112 4.148zM12 21a9 9 0 100-18 9 9 0 000 18z"></path>
          </svg>
        </div>
        <h3 class="text-xl sm:text-2xl font-semibold text-yellow-700 dark:text-yellow-300">Active Patient</h3>
      </div>
      <p class="text-gray-600 dark:text-gray-300 text-sm sm:text-base mb-4">
        Patient records currently undergoing active treatment or monitoring within the facility.
      </p>
      <span class="inline-block px-3 py-1 text-xs sm:text-sm font-medium bg-red-100 dark:bg-red-900 text-red-700 dark:text-red-300 rounded-full shadow-inner">
        Status: Admitted
      </span>
    </div>

    <!-- Badge 2: Upcoming Appointment -->
    <div class="p-5 sm:p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg dark:shadow-xl border-b-4 border-yellow-500 dark:border-yellow-600 transition-all duration-300 hover:scale-[1.02] hover:shadow-2xl dark:hover:shadow-orange-900/50">
      <div class="flex items-center mb-3 sm:mb-4">
        <div class="w-10 h-10 sm:w-12 sm:h-12 bg-yellow-200 dark:bg-yellow-700 text-yellow-700 dark:text-yellow-200 rounded-full flex items-center justify-center mr-3 sm:mr-4 flex-shrink-0">
          <svg class="w-6 h-6 sm:w-7 sm:h-7" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h8M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
          </svg>
        </div>
        <h3 class="text-xl sm:text-2xl font-semibold text-orange-700 dark:text-orange-300">Upcoming Appointment</h3>
      </div>
      <p class="text-gray-600 dark:text-gray-300 text-sm sm:text-base mb-4">
        Scheduled visits for patients awaiting consultation or follow-up with medical professionals.
      </p>
      <span class="inline-block px-3 py-1 text-xs sm:text-sm font-medium bg-orange-100 dark:bg-orange-900 text-orange-700 dark:text-orange-300 rounded-full shadow-inner">
        Date: 25/07/2024
      </span>
    </div>

    <!-- Badge 3: Medical Alert -->
    <div class="p-5 sm:p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg dark:shadow-xl border-b-4 border-red-500 dark:border-red-600 transition-all duration-300 hover:scale-[1.02] hover:shadow-2xl dark:hover:shadow-yellow-900/50">
      <div class="flex items-center mb-3 sm:mb-4">
        <div class="w-10 h-10 sm:w-12 sm:h-12 bg-red-200 dark:bg-red-700 text-red-700 dark:text-red-200 rounded-full flex items-center justify-center mr-3 sm:mr-4 flex-shrink-0">
          <svg class="w-6 h-6 sm:w-7 sm:h-7" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path>
          </svg>
        </div>
        <h3 class="text-xl sm:text-2xl font-semibold text-red-700 dark:text-red-300">Medical Alert</h3>
      </div>
      <p class="text-gray-600 dark:text-gray-300 text-sm sm:text-base mb-4">
        Critical information or special conditions requiring immediate attention for patient care.
      </p>
      <span class="inline-block px-3 py-1 text-xs sm:text-sm font-medium bg-yellow-100 dark:bg-yellow-900 text-yellow-700 dark:text-yellow-300 rounded-full shadow-inner">
        Type: Allergy
      </span>
    </div>

    <!-- Badge 4: Completed Consultations -->
    <div class="p-5 sm:p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg dark:shadow-xl border-b-4 border-yellow-600 dark:border-yellow-700 transition-all duration-300 hover:scale-[1.02] hover:shadow-2xl dark:hover:shadow-red-900/50">
      <div class="flex items-center mb-3 sm:mb-4">
        <div class="w-10 h-10 sm:w-12 sm:h-12 bg-yellow-300 dark:bg-yellow-600 text-yellow-800 dark:text-yellow-200 rounded-full flex items-center justify-center mr-3 sm:mr-4 flex-shrink-0">
          <svg class="w-6 h-6 sm:w-7 sm:h-7" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"></path>
          </svg>
        </div>
        <h3 class="text-xl sm:text-2xl font-semibold text-orange-800 dark:text-orange-200">Consultations Done</h3>
      </div>
      <p class="text-gray-600 dark:text-gray-300 text-sm sm:text-base mb-4">
        Records of medical consultations that have been successfully completed and documented.
      </p>
      <span class="inline-block px-3 py-1 text-xs sm:text-sm font-medium bg-green-100 dark:bg-green-900 text-green-700 dark:text-green-300 rounded-full shadow-inner">
        Validated: Yes
      </span>
    </div>

    <!-- Badge 5: Prescription Refill -->
    <div class="p-5 sm:p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg dark:shadow-xl border-b-4 border-orange-700 dark:border-orange-800 transition-all duration-300 hover:scale-[1.02] hover:shadow-2xl dark:hover:shadow-yellow-900/50">
      <div class="flex items-center mb-3 sm:mb-4">
        <div class="w-10 h-10 sm:w-12 sm:h-12 bg-orange-300 dark:bg-orange-700 text-orange-800 dark:text-orange-200 rounded-full flex items-center justify-center mr-3 sm:mr-4 flex-shrink-0">
          <svg class="w-6 h-6 sm:w-7 sm:h-7" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 8h10M7 12h10M7 16h10M9 6v10m0 0a2 2 0 10-2-2h-2a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2m0 0V8m0 4a2 2 0 11-2-2h-2a2 2 0 01-2 2v2a2 2 0 012 2h2a2 2 0 012-2m0 0V8"></path>
          </svg>
        </div>
        <h3 class="text-xl sm:text-2xl font-semibold text-red-800 dark:text-red-200">Prescription Refill</h3>
      </div>
      <p class="text-gray-600 dark:text-gray-300 text-sm sm:text-base mb-4">
        Requests for medication refills, requiring approval and processing by pharmacy staff.
      </p>
      <span class="inline-block px-3 py-1 text-xs sm:text-sm font-medium bg-red-100 dark:bg-red-900 text-red-700 dark:text-red-300 rounded-full shadow-inner">
        Status: Pending
      </span>
    </div>

    <!-- Badge 6: Lab Results Pending -->
    <div class="p-5 sm:p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg dark:shadow-xl border-b-4 border-red-700 dark:border-red-800 transition-all duration-300 hover:scale-[1.02] hover:shadow-2xl dark:hover:shadow-orange-900/50">
      <div class="flex items-center mb-3 sm:mb-4">
        <div class="w-10 h-10 sm:w-12 sm:h-12 bg-red-300 dark:bg-red-700 text-red-800 dark:text-red-200 rounded-full flex items-center justify-center mr-3 sm:mr-4 flex-shrink-0">
          <svg class="w-6 h-6 sm:w-7 sm:h-7" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 13h10m-3 3v3m2-3v3m-2-3H9m5 0h-2m2-3V7m2-3h-2v3m-2-3H9v3m2-3v-3m2 3v-3m2 3h-2v3m-2-3H9v3m5-3V7m2-3h-2v3m-2-3H9v3m5-3V7m2-3h-2v3m-2-3H9v3m5-3V7l-2-2-2 2V7l-2-2-2 2V7l-2-2-2 2V7m4 12V7h-4V19m0 0a2 2 0 002 2h2a2 2 0 002-2m-8 0v-6m0-4V7h-4v6m0 0a2 2 0 002 2h2a2 2 0 002-2M7 13h10m-3 3v3m2-3v3m-2-3H9m5 0h-2m2-3V7m2-3h-2v3m-2-3H9v3m5-3V7m2-3h-2v3m-2-3H9v3m5-3V7m2-3h-2v3m-2-3H9v3m5-3V7l-2-2-2 2V7l-2-2-2 2V7l-2-2-2 2V7m4 12V7H9v12m0-4a2 2 0 002 2h2a2 2 0 002-2m0 0v-6m0-4V7h4v6m0 0a2 2 0 002 2h2a2 2 0 002-2"></path>
          </svg>
        </div>
        <h3 class="text-xl sm:text-2xl font-semibold text-yellow-800 dark:text-yellow-200">Lab Results Pending</h3>
      </div>
      <p class="text-gray-600 dark:text-gray-300 text-sm sm:text-base mb-4">
        Indicates laboratory test results that are currently being processed or are awaiting review.
      </p>
      <span class="inline-block px-3 py-1 text-xs sm:text-sm font-medium bg-orange-100 dark:bg-orange-900 text-orange-700 dark:text-orange-300 rounded-full shadow-inner">
        Status: In Progress
      </span>
    </div>

  </div>
</div>

Componenti correlati

Componente Badge

Un componente di badge semplice e reattivo con supporto per la modalità scura, che utilizza una combinazione di colori triadica adatta a un portfolio.

Aperto

Componente Badge

Un componente di badge in stile neumorfismo per blog con combinazione di colori analoga e interfaccia ricca.

Aperto

Componente Badge

Un versatile componente Badge progettato per siti Web aziendali/aziendali, che utilizza i toni della Terra in un'interfaccia utente in modalità scura per migliorare l'esperienza dell'utente. Il componente è caratterizzato da reattività con alcuni elementi interattivi.

Aperto