구성 요소 사용자 프로필 사용자 프로필 구성 요소

사용자 프로필 구성 요소

수채화/예술적 스타일과 그라데이션 무지개 색 구성표가 있는 간단하고 반응이 빠른 사용자 프로필 구성 요소로, 마켓플레이스 플랫폼에 적합합니다. 다크 모드 지원이 포함됩니다.

미리 보기

HTML 코드

<div class="p-4 sm:p-6 lg:p-8 bg-gradient-to-br from-purple-50 to-pink-50 dark:from-gray-900 dark:to-gray-800 font-sans">
  <div class="max-w-md mx-auto bg-white dark:bg-gray-800 rounded-3xl shadow-xl overflow-hidden transform hover:scale-105 transition-all duration-300 relative group">
    <!-- Artistic Top Shape -->
    <div class="absolute inset-x-0 top-0 h-40 bg-gradient-to-r from-red-400 via-yellow-400 to-green-400 dark:from-red-700 dark:via-yellow-700 dark:to-green-700 opacity-70 clip-path-polygon-alt rounded-t-3xl">
      <svg class="absolute inset-0 w-full h-full" viewBox="0 0 100 100" preserveAspectRatio="none">
        <defs>
          <filter id="watercolor-effect">
            <feTurbulence type="fractalNoise" baseFrequency="0.05" numOctaves="5" result="noise"/>
            <feDiffuseLighting in="noise" lightingColor="white" surfaceScale="2" result="diffuse"/>
            <feBlend in="SourceGraphic" in2="diffuse" mode="multiply"/>
          </filter>
        </defs>
        <rect width="100" height="100" fill="#FFF" filter="url(#watercolor-effect)" opacity="0.1"/>
      </svg>
    </div>

    <div class="relative p-6 pt-20 text-center">
      <!-- Profile Picture -->
      <div class="w-32 h-32 mx-auto rounded-full border-4 border-white dark:border-gray-700 overflow-hidden shadow-lg transform -translate-y-1/2 group-hover:scale-110 transition-transform duration-300">
        <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Profile Picture" class="w-full h-full object-cover">
      </div>

      <h2 class="text-3xl font-extrabold text-gray-800 dark:text-white -mt-8 mb-2 leading-tight">
        Anya Petrova
      </h2>
      <p class="text-lg text-gray-600 dark:text-gray-300 font-medium mb-4">
        Digital Artist & Illustrator
      </p>

      <div class="max-w-xs mx-auto mb-6 text-gray-700 dark:text-gray-400 text-sm leading-relaxed">
        Creating vibrant worlds through watercolors and digital strokes for a unique artistic experience.
      </div>

      <div class="flex justify-center flex-wrap gap-3 mb-6">
        <span class="px-4 py-1.5 rounded-full text-sm font-semibold whitespace-nowrap
                     bg-gradient-to-r from-blue-400 to-indigo-400 text-white shadow-md
                     hover:from-blue-500 hover:to-indigo-500 transition duration-200">
          Watercolor
        </span>
        <span class="px-4 py-1.5 rounded-full text-sm font-semibold whitespace-nowrap
                     bg-gradient-to-r from-green-400 to-teal-400 text-white shadow-md
                     hover:from-green-500 hover:to-teal-500 transition duration-200">
          Illustrations
        </span>
        <span class="px-4 py-1.5 rounded-full text-sm font-semibold whitespace-nowrap
                     bg-gradient-to-r from-purple-400 to-pink-400 text-white shadow-md
                     hover:from-purple-500 hover:to-pink-500 transition duration-200">
          Portraits
        </span>
      </div>

      <a href="#" class="inline-block px-8 py-3 rounded-full text-lg font-bold
                 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white shadow-lg
                 hover:shadow-xl hover:from-indigo-600 hover:via-purple-600 hover:to-pink-600
                 transform hover:-translate-y-0.5 transition duration-300 ease-in-out
                 focus:outline-none focus:ring-4 focus:ring-purple-300 focus:ring-opacity-75 dark:focus:ring-purple-700">
        View Gallery
      </a>
    </div>

    <!-- Artistic Bottom Shape -->
    <div class="absolute inset-x-0 bottom-0 h-20 bg-gradient-to-l from-orange-400 via-yellow-400 to-red-400 dark:from-orange-700 dark:via-yellow-700 dark:to-red-700 opacity-60 clip-path-polygon-alt-bottom rounded-b-3xl">
      <svg class="absolute inset-0 w-full h-full" viewBox="0 0 100 100" preserveAspectRatio="none">
        <rect width="100" height="100" fill="#FFF" filter="url(#watercolor-effect)" opacity="0.1"/>
      </svg>
    </div>
  </div>
</div>

<style>
  /* This is an additional style block for custom clip-path properties, 
     as Tailwind currently doesn't support complex clip-path values directly 
     via utility classes without custom configuration. 
     In a real project, this would likely be in a global CSS file or configured 
     via Tailwind's theme extends. */
  .clip-path-polygon-alt {
    clip-path: polygon(0 0, 100% 0, 100% 70%, 75% 85%, 50% 70%, 25% 85%, 0 70%);
  }
  .clip-path-polygon-alt-bottom {
    clip-path: polygon(0% 30%, 25% 15%, 50% 30%, 75% 15%, 100% 30%, 100% 100%, 0% 100%);
  }
</style>

관련 구성 요소

사용자 프로필 구성 요소

사용자 프로필 구성 요소는 파스텔 색 구성표와 중간 정도의 복잡성 기능이 있는 다크 모드 대시보드용으로 설계되었습니다.

열다

뉴모픽 사용자 프로필 카드

대시보드에 적합한 어스 톤을 사용하는 뉴모픽 디자인 미학을 갖춘 간단하고 반응이 빠른 사용자 프로필 카드입니다. 다크 모드 지원이 포함됩니다.

열다

사용자 프로필 단순 카드

Tailwind CSS, Material Design, Earth Tones 색 구성표가 포함된 반응형 사용자 프로필 카드. 다크 모드 지원, JS가 필요하지 않습니다.

열다