エラーメッセージコンポーネント
Tailwind CSSを使用して設計されたミニマリストのエラーメッセージコンポーネントで、レスポンシブエフェクトとダークテーマのサポートを備えています。
HTMLコード
<div class="max-w-md mx-auto mt-8 p-4 bg-white shadow-md rounded-lg dark:bg-gray-800">
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-12 h-12 rounded-full">
<h2 class="ml-3 text-xl font-semibold text-gray-900 dark:text-white">Error Title</h2>
</div>
<p class="text-gray-700 dark:text-gray-300">This is an error message that summarizes the issue. Please check the details and try again.</p>
<div class="mt-4">
<img src="https://picsum.photos/400/200" alt="Error Illustration" class="w-full h-auto rounded-md">
</div>
<div class="mt-4 flex justify-between">
<button class="px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-600">
Retry
</button>
<button class="px-4 py-2 bg-red-500 text-white rounded-md hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-700">
Dismiss
</button>
</div>
</div>
関連コンポーネント
エラー・メッセージ・コンポーネント 45
Tailwind CSS を使用した、レスポンシブ効果とダークテーマのサポートを特徴とするレトロ/ビンテージスタイルのエラーメッセージコンポーネント。
エラーメッセージコンポーネント
ユーザー操作のための魅力的なアニメーションを特長とし、Tailwind CSS を使用したダークテーマをサポートするレスポンシブエラーメッセージコンポーネント。
エラーメッセージコンポーネント
スキューモーフィックなデザインのエラーメッセージコンポーネントで、リアルなアラートアイコンと影付きの境界線が特徴です。レスポンシブレイアウトをサポートし、ダークモード用の明確なスタイルが含まれているため、さまざまなテーマで読みやすさと視覚的に適切な外観が保証されます。