イメージライトボックスコンポーネント
現実世界の対応物を模倣するように設計されたスキューモーフィック イメージ ライトボックス コンポーネントで、レスポンシブ エフェクトと Tailwind CSS を使用したダーク テーマのサポートが特徴です。
HTMLコード
<div class="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900">
<div class="relative group w-full max-w-2xl bg-white dark:bg-gray-800 shadow-lg rounded-lg overflow-hidden">
<img src="https://picsum.photos/600/400" alt="Lightbox Image" class="w-full h-auto rounded-lg transition ease-in-out duration-300 transform group-hover:scale-105" />
<div class="absolute inset-0 bg-black opacity-0 group-hover:opacity-50 transition-opacity duration-300 rounded-lg"></div>
<div class="absolute bottom-0 left-0 right-0 p-4 text-white">
<h2 class="font-bold text-lg">Image Title</h2>
<p class="text-sm">Image description goes here.</p>
</div>
</div>
<div class="mt-4">
<button class="p-2 px-4 bg-blue-600 text-white rounded hover:bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-600 shadow-lg">
<span class="flex items-center">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-6 h-6 rounded-full mr-2" />
View User's Images
</span>
</button>
</div>
</div>
関連コンポーネント
Memphis_Monochrome_Image_Lightbox
メンフィスデザインの影響を受けたシンプルでレスポンシブな画像ライトボックスコンポーネントで、モノクロパレットと単一の明るいアクセントカラーが特徴です。ジョブ/キャリアプラットフォーム向けに設計されています。
イメージライトボックスコンポーネント
ダッシュボード用に設計されたレスポンシブ画像ライトボックスコンポーネントで、3Dスタイルと単色の配色が特徴です。これには、ホバー効果と、ダークモードをサポートするためのTailwind CSSを使用したモーダル機能が含まれています。
画像ライトボックスコンポーネント - スキューモーフィックパープル
シンプルでレスポンシブな画像ライトボックスコンポーネントで、紫/紫色のスペクトルのスキューモーフィックデザインで、仕事/キャリアプラットフォームに適しています。ダークモードのサポートが含まれています。