구성 요소 제품 리뷰 제품 리뷰 구성 요소

제품 리뷰 구성 요소

제품 리뷰 Neumorphism 스타일, 반응형 효과 및 어두운 테마 지원과 함께 Tailwind CSS를 사용하는 구성 요소. JavaScript 코드는 포함되어 있지 않습니다. 자리 표시자 이미지와 아바타가 사용됩니다.

미리 보기

HTML 코드

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">

<style>
  body {
    background-color: #e0e0e0;
  }

  .neumorphism-card {
    background: #e0e0e0;
    box-shadow: 7px 7px 15px #bebebe, -7px -7px 15px #ffffff;
    border-radius: 12px;
  }

  .neumorphism-card-dark {
    background: #333;
    box-shadow: 7px 7px 15px #222, -7px -7px 15px #444;
  }

  @media (prefers-color-scheme: dark) {
    body {
      background-color: #333;
    }

    .neumorphism-card {
      background: #333;
      box-shadow: 7px 7px 15px #222, -7px -7px 15px #444;
    }
  }
</style>

<div class="container mx-auto p-4">
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">

        <!-- Review Card 1 -->
        <div class="neumorphism-card p-6 flex flex-col items-center text-center">
            <img class="w-16 h-16 rounded-full mb-4" src="https://randomuser.me/api/portraits/men/32.jpg" alt="Avatar">
            <p class="text-gray-700 dark:text-gray-300 mb-4">"This product is amazing! It exceeded my expectations."</p>
            <div class="flex items-center mb-4">
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-gray-400" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
            </div>
            <p class="font-semibold text-gray-800 dark:text-gray-200">- John Doe</p>
        </div>

        <!-- Review Card 2 -->
         <div class="neumorphism-card p-6 flex flex-col items-center text-center">
            <img class="w-16 h-16 rounded-full mb-4" src="https://randomuser.me/api/portraits/women/44.jpg" alt="Avatar">
            <p class="text-gray-700 dark:text-gray-300 mb-4">"Highly recommend this to everyone. Great quality and value."</p>
            <div class="flex items-center mb-4">
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                 <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
            </div>
            <p class="font-semibold text-gray-800 dark:text-gray-200">- Jane Smith</p>
        </div>

        <!-- Review Card 3 -->
         <div class="neumorphism-card p-6 flex flex-col items-center text-center">
            <img class="w-16 h-16 rounded-full mb-4" src="https://randomuser.me/api/portraits/men/50.jpg" alt="Avatar">
            <p class="text-gray-700 dark:text-gray-300 mb-4">"Satisfied with my purchase. Will buy again."</p>
            <div class="flex items-center mb-4">
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-gray-400" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
                <svg class="w-5 h-5 text-gray-400" fill="currentColor" viewBox="0 0 20 20"><path d="M10 15l-5.92 3.17 1.12-6.54L.43 7.33l6.59-.96L10 0l2.98 6.37 6.59.96-4.77 4.3.9 6.54L10 15z"/></svg>
            </div>
            <p class="font-semibold text-gray-800 dark:text-gray-200">- Peter Jones</p>
        </div>

    </div>
</div>

관련 구성 요소

제품 리뷰 구성 요소

비즈니스 웹 사이트를 위해 설계된 마이크로 인터랙션이 있는 복잡하고 매력적인 제품 리뷰 구성 요소입니다. 이 구성 요소는 Tailwind CSS를 사용하는 어두운 테마의 반응형 디자인을 특징으로 하며, 애니메이션과 유사한 색상을 기반으로 한 색 구성표를 통합합니다.

열다

제품 리뷰 구성 요소

대시보드용으로 설계된 복잡한 제품 검토 구성 요소로, 3D 디자인 요소, 흙색 색상 및 다크 모드 지원을 제공합니다.

열다

제품 리뷰 구성 요소

레트로/빈티지 스타일, 어스 톤 색 구성표, 적당한 복잡성 제품 리뷰 반응형 디자인과 어두운 테마 지원을 제공하는 구성 요소. 스타일링에는 Tailwind CSS를, 제품 이미지에는 picsum.photos를, 아바타에는 randomuser.me 를 사용합니다. 자바스크립트가 없습니다.

열다