구성 요소 그리드 레이아웃 그리드 레이아웃 구성 요소

그리드 레이아웃 구성 요소

전자 상거래를 위한 미니멀한 그리드 레이아웃 구성 요소로, 트라이어딕 색 구성표와 다크 모드 지원을 통해 온라인 쇼핑 경험을 위해 설계되었습니다.

미리 보기

HTML 코드

<div class="container mx-auto px-4">
  <h1 class="text-3xl font-bold text-gray-800 dark:text-white mb-6">Shop Our Collection</h1>
  <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
    <div class="bg-gray-100 dark:bg-gray-800 rounded-lg shadow hover:shadow-lg transition ease-in-out duration-300 overflow-hidden">
      <img src="https://picsum.photos/300/200?random=1" alt="Product 1" class="w-full h-48 object-cover">
      <div class="p-4">
        <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Product Title 1</h2>
        <p class="text-gray-600 dark:text-gray-400">Short description of the product.</p>
        <span class="block mt-2 text-lg font-bold text-gray-800 dark:text-gray-200">$39.99</span>
        <button class="mt-4 w-full bg-indigo-600 dark:bg-indigo-500 text-white px-4 py-2 rounded shadow hover:bg-indigo-700 dark:hover:bg-indigo-400 transition ease-in-out duration-300">Add to Cart</button>
      </div>
    </div>
    <div class="bg-gray-100 dark:bg-gray-800 rounded-lg shadow hover:shadow-lg transition ease-in-out duration-300 overflow-hidden">
      <img src="https://picsum.photos/300/200?random=2" alt="Product 2" class="w-full h-48 object-cover">
      <div class="p-4">
        <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Product Title 2</h2>
        <p class="text-gray-600 dark:text-gray-400">Short description of the product.</p>
        <span class="block mt-2 text-lg font-bold text-gray-800 dark:text-gray-200">$49.99</span>
        <button class="mt-4 w-full bg-indigo-600 dark:bg-indigo-500 text-white px-4 py-2 rounded shadow hover:bg-indigo-700 dark:hover:bg-indigo-400 transition ease-in-out duration-300">Add to Cart</button>
      </div>
    </div>
    <div class="bg-gray-100 dark:bg-gray-800 rounded-lg shadow hover:shadow-lg transition ease-in-out duration-300 overflow-hidden">
      <img src="https://picsum.photos/300/200?random=3" alt="Product 3" class="w-full h-48 object-cover">
      <div class="p-4">
        <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Product Title 3</h2>
        <p class="text-gray-600 dark:text-gray-400">Short description of the product.</p>
        <span class="block mt-2 text-lg font-bold text-gray-800 dark:text-gray-200">$59.99</span>
        <button class="mt-4 w-full bg-indigo-600 dark:bg-indigo-500 text-white px-4 py-2 rounded shadow hover:bg-indigo-700 dark:hover:bg-indigo-400 transition ease-in-out duration-300">Add to Cart</button>
      </div>
    </div>
    <div class="bg-gray-100 dark:bg-gray-800 rounded-lg shadow hover:shadow-lg transition ease-in-out duration-300 overflow-hidden">
      <img src="https://picsum.photos/300/200?random=4" alt="Product 4" class="w-full h-48 object-cover">
      <div class="p-4">
        <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Product Title 4</h2>
        <p class="text-gray-600 dark:text-gray-400">Short description of the product.</p>
        <span class="block mt-2 text-lg font-bold text-gray-800 dark:text-gray-200">$69.99</span>
        <button class="mt-4 w-full bg-indigo-600 dark:bg-indigo-500 text-white px-4 py-2 rounded shadow hover:bg-indigo-700 dark:hover:bg-indigo-400 transition ease-in-out duration-300">Add to Cart</button>
      </div>
    </div>
    <div class="bg-gray-100 dark:bg-gray-800 rounded-lg shadow hover:shadow-lg transition ease-in-out duration-300 overflow-hidden">
      <img src="https://picsum.photos/300/200?random=5" alt="Product 5" class="w-full h-48 object-cover">
      <div class="p-4">
        <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Product Title 5</h2>
        <p class="text-gray-600 dark:text-gray-400">Short description of the product.</p>
        <span class="block mt-2 text-lg font-bold text-gray-800 dark:text-gray-200">$79.99</span>
        <button class="mt-4 w-full bg-indigo-600 dark:bg-indigo-500 text-white px-4 py-2 rounded shadow hover:bg-indigo-700 dark:hover:bg-indigo-400 transition ease-in-out duration-300">Add to Cart</button>
      </div>
    </div>
    <div class="bg-gray-100 dark:bg-gray-800 rounded-lg shadow hover:shadow-lg transition ease-in-out duration-300 overflow-hidden">
      <img src="https://picsum.photos/300/200?random=6" alt="Product 6" class="w-full h-48 object-cover">
      <div class="p-4">
        <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Product Title 6</h2>
        <p class="text-gray-600 dark:text-gray-400">Short description of the product.</p>
        <span class="block mt-2 text-lg font-bold text-gray-800 dark:text-gray-200">$89.99</span>
        <button class="mt-4 w-full bg-indigo-600 dark:bg-indigo-500 text-white px-4 py-2 rounded shadow hover:bg-indigo-700 dark:hover:bg-indigo-400 transition ease-in-out duration-300">Add to Cart</button>
      </div>
    </div>
  </div>
</div>

관련 구성 요소

Course_Grid_Layout_Component

교육 플랫폼을 위한 반응형이고 시각적으로 매력적인 그리드 레이아웃 구성 요소로, 따뜻한 일몰 톤, 머티리얼 디자인 그림자 및 다크 모드 지원이 있는 코스 카드를 특징으로 합니다.

열다

아르 데코 게이밍 그리드 레이아웃

반응형 아르데코에서 영감을 받은 게임 그리드 레이아웃은 기하학적 패턴, 회색조 색상 및 인터랙티브 요소를 특징으로 합니다. 게임 웹사이트 및 인터페이스용으로 설계되었으며 다크 모드를 지원합니다.

열다

Monospace_Developer_Food_Grid_Layout

음식/레스토랑 웹사이트를 위한 간단한 모노스페이스 테마의 그리드 레이아웃 구성 요소로, 깔끔한 디자인과 다크 모드를 지원하는 단색 색 구성표를 특징으로 합니다.

열다