ユーザーメンションコンポーネント
シンプルでミニマリストのユーザーは、ダークモードをサポートするコンポーネントについて言及しています。クリック可能なユーザーのアバターと名前は、フレックスボックスレイアウトで表示されます。このコンポーネントは応答性が高く、さまざまな画面サイズに適応します。
HTMLコード
<div class="bg-white dark:bg-gray-800 p-4 rounded-lg shadow">
<h3 class="text-lg font-semibold mb-4 text-gray-900 dark:text-white">Mentioned Users</h3>
<div class="flex flex-wrap gap-4">
<div class="flex items-center space-x-2">
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar">
<a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">John Doe</a>
</div>
<div class="flex items-center space-x-2">
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User Avatar">
<a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">Jane Smith</a>
</div>
<div class="flex items-center space-x-2">
<img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/men/78.jpg" alt="User Avatar">
<a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">Peter Jones</a>
</div>
</div>
</div>
関連コンポーネント
ユーザーメンションコンポーネント
ユーザーは、Tailwind CSSを使用して、レスポンシブデザインとダークテーマのサポートを備えた、Glassmorphismスタイル、パステルカラースキーム、およびEコマースの複雑な複雑さレベルのコンポーネントに言及します。