コンポーネント 資本 GlassmorphismModalコンポーネント

GlassmorphismModalコンポーネント

類似の配色、適度な複雑さ、ブログ/コンテンツの表示に適した Glassmorphism スタイルのモーダル コンポーネント。Tailwind CSSを使用したダークテーマをサポートするレスポンシブデザインが特徴です。

プレビュー

HTMLコード

<div class="fixed inset-0 bg-gray-900 bg-opacity-70 flex justify-center items-center p-4 z-50 dark:bg-opacity-80"> <div class="relative bg-white bg-opacity-20 backdrop-filter backdrop-blur-lg rounded-xl shadow-2xl p-6 md:p-8 lg:p-10 max-w-2xl w-full m-4 border border-opacity-30 border-white dark:bg-gray-800 dark:bg-opacity-20 dark:border-gray-700 text-gray-900 dark:text-white transform transition-all scale-100 opacity-100"> <!-- Close Button --> <button class="absolute top-4 right-4 text-gray-900 dark:text-white hover:text-gray-700 dark:hover:text-gray-300 transition duration-300 ease-in-out focus:outline-none"> <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path> </svg> </button> <!-- Modal Header --> <div class="mb-6"> <h3 class="text-3xl font-extrabold text-gray-900 dark:text-white mb-2">The Wonders of Glassmorphism</h3> <p class="text-lg text-gray-800 dark:text-gray-200">Embrace the beauty of translucent design.</p> </div> <!-- Modal Content - Article Preview --> <div class="space-y-6 text-gray-800 dark:text-gray-200"> <img src="https://picsum.photos/600/350?random=1" alt="Abstract Glassmorphism Background" class="rounded-lg mb-4 shadow-md object-cover w-full h-auto"> <p class="leading-relaxed"> Glassmorphism is a design trend characterized by a frosted-glass effect, where backgrounds are blurred to create a sense of depth and translucency. This aesthetic often involves vibrant colors, light borders, and distinct layering, giving UI elements a sense of floating on the screen. It

関連コンポーネント

Paper_Print_Inspired_Autumn_Modal_Component

紙や印刷物に触発された複雑で応答性の高いモーダルコンポーネントで、秋の色が特徴です。教育プラットフォーム向けに設計されており、ダークモードのサポートとセマンティックHTMLが含まれています。

開ける

コーポレート 3D トライアド モーダル

3Dでデザインされたレスポンシブなモーダルコンポーネントで、3Dでデザインされたモーダルコンポーネントで、ビジネスや企業のWebサイトに最適で、ダークモードに対応しています。

開ける

Healthcare_Medical_Modal_Component

ヘルスケア/医療アプリケーション向けの複雑で応答性の高いモーダルコンポーネントで、サンセット/ウォームカラースキームのマテリアルデザインに触発されています。フォーム要素、画像、およびダークモードのサポートが含まれています。

開ける