组件 画廊 画廊组件

画廊组件

一个以神经形态风格设计的画廊组件,采用天然色调,适用于博客/内容目的。该组件具有丰富的界面,多个互动元素,响应式设计和深色主题支持。

预览

HTML 代码

<div class="container mx-auto p-6 bg-gray-50 dark:bg-gray-900 rounded-lg shadow-lg">  <h1 class="text-3xl font-bold text-gray-800 dark:text-gray-200 mb-6">Gallery</h1>  <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">    <div class="bg-gray-200 dark:bg-gray-800 rounded-lg p-4 shadow-md hover:shadow-lg transition-shadow">      <img src="https://picsum.photos/300/200?random=1" alt="Gallery Image 1" class="rounded-lg mb-2">      <h2 class="text-xl font-semibold text-gray-700 dark:text-gray-300">Image Title 1</h2>      <p class="text-gray-600 dark:text-gray-400">Short description of the image.</p>    </div>    <div class="bg-gray-200 dark:bg-gray-800 rounded-lg p-4 shadow-md hover:shadow-lg transition-shadow">      <img src="https://picsum.photos/300/200?random=2" alt="Gallery Image 2" class="rounded-lg mb-2">      <h2 class="text-xl font-semibold text-gray-700 dark:text-gray-300">Image Title 2</h2>      <p class="text-gray-600 dark:text-gray-400">Short description of the image.</p>    </div>    <div class="bg-gray-200 dark:bg-gray-800 rounded-lg p-4 shadow-md hover:shadow-lg transition-shadow">      <img src="https://picsum.photos/300/200?random=3" alt="Gallery Image 3" class="rounded-lg mb-2">      <h2 class="text-xl font-semibold text-gray-700 dark:text-gray-300">Image Title 3</h2>      <p class="text-gray-600 dark:text-gray-400">Short description of the image.</p>    </div>    <div class="bg-gray-200 dark:bg-gray-800 rounded-lg p-4 shadow-md hover:shadow-lg transition-shadow">      <img src="https://picsum.photos/300/200?random=4" alt="Gallery Image 4" class="rounded-lg mb-2">      <h2 class="text-xl font-semibold text-gray-700 dark:text-gray-300">Image Title 4</h2>      <p class="text-gray-600 dark:text-gray-400">Short description of the image.</p>    </div>    <div class="bg-gray-200 dark:bg-gray-800 rounded-lg p-4 shadow-md hover:shadow-lg transition-shadow">      <img src="https://picsum.photos/300/200?random=5" alt="Gallery Image 5" class="rounded-lg mb-2">      <h2 class="text-xl font-semibold text-gray-700 dark:text-gray-300">Image Title 5</h2>      <p class="text-gray-600 dark:text-gray-400">Short description of the image.</p>    </div>    <div class="bg-gray-200 dark:bg-gray-800 rounded-lg p-4 shadow-md hover:shadow-lg transition-shadow">      <img src="https://picsum.photos/300/200?random=6" alt="Gallery Image 6" class="rounded-lg mb-2">      <h2 class="text-xl font-semibold text-gray-700 dark:text-gray-300">Image Title 6</h2>      <p class="text-gray-600 dark:text-gray-400">Short description of the image.</p>    </div>  </div>  <div class="mt-6 text-center">    <h3 class="text-lg font-bold text-gray-700 dark:text-gray-300">Author</h3>    <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Author Avatar" class="mx-auto rounded-full w-24 h-24">    <p class="text-gray-600 dark:text-gray-400">Author Name</p>  </div></div>

相关组件

电子商务产品画廊

一个复杂、响应式且与深色主题兼容的画廊组件,具有极简主义设计、互补配色方案和多个适用于电子商务的交互式元素。

打开

画廊组件

一个复古风格的画廊组件,具有响应式效果和暗黑主题支持。

打开

复古画廊组件

一种响应式图库组件,具有复古/古董风格,鲜艳的色彩方案和简单布局,适合博客/内容消费,支持深色模式。使用Tailwind CSS.

打开