コンポーネント ユーザーメンション ユーザーメンションコンポーネント

ユーザーメンションコンポーネント

ユーザーがTigerwind CSSを使用してコンポーネントに言及し、Glassmorphismデザイン、応答性、およびダークテーマのサポートを提供します。

プレビュー

HTMLコード

<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900 p-4">
  <div class="w-full max-w-sm bg-white bg-opacity-30 dark:bg-gray-700 dark:bg-opacity-30 rounded-lg shadow-lg backdrop-filter backdrop-blur-lg p-6">
    <h3 class="text-xl font-semibold mb-4 text-gray-800 dark:text-white">Mentions</h2>
    <div class="space-y-4">
      <div class="flex items-center space-x-4">
        <img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
        <div class="flex-1">
          <p class="text-sm font-medium text-gray-900 dark:text-white">John Doe</p>
          <p class="text-sm text-gray-700 dark:text-gray-300">Mentioned you in a comment.</p>
        </div>
      </div>
      <div class="flex items-center space-x-4">
        <img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/women/2.jpg" alt="User Avatar">
        <div class="flex-1">
          <p class="text-sm font-medium text-gray-900 dark:text-white">Jane Smith</p>
          <p class="text-sm text-gray-700 dark:text-gray-300">Mentioned you in a post.</p>
        </div>
      </div>
      <div class="flex items-center space-x-4">
        <img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/men/3.jpg" alt="User Avatar">
        <div class="flex-1">
          <p class="text-sm font-medium text-gray-900 dark:text-white">Peter Jones</p>
          <p class="text-sm text-gray-700 dark:text-gray-300">Mentioned you in a message.</p>
        </div>
      </div>
    </div>
  </div>
</div>

関連コンポーネント

ユーザーメンションコンポーネント

レスポンシブなユーザーが、Tailwind CSS を使用するビジネス Web サイト向けに設計された、ダーク テーマのサポートとマイクロインタラクションを備えたコンポーネントについて言及しています。

開ける

ユーザーメンションコンポーネント

複雑なユーザーが、ダークモードのサポートとトライアドカラースキームを備えたダッシュボード用に設計されたコンポーネントについて言及しています。

開ける

ユーザーメンションコンポーネント

ユーザーメンション ダークモードをサポートするコンポーネントで、レスポンシブエフェクトとダークテーマのサポートが特徴です。画像には picsum.photos のランダムなプレースホルダー画像を使用し、アバターには randomuser.me を使用します。

開ける