Components User Mentions User Mentions Component

User Mentions Component

A simple and minimalist user mentions component, with support for dark mode. Clickable user avatars and names are displayed in a flexbox layout. The component is responsive and adapts to different screen sizes.

Preview

HTML Code

<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>

Related Components

User Mentions Component

A User Mentions Component designed with microinteractions, featuring responsive effects and dark theme support, built using Tailwind CSS.

Open

User Mentions Component

A retro-vintage user mentions component for e-commerce with triadic colors, moderate complexity, responsiveness, and dark mode support. No JavaScript.

Open

User Mentions Component

A responsive user mentions component with dark theme support and microinteractions, designed for business websites using Tailwind CSS.

Open