Components User Mentions User Mentions Component

User Mentions Component

A Neumorphism-styled user mentions component using earth tones for a portfolio website, with responsive design and dark mode support.

Preview

HTML Code

<div class="container mx-auto p-8 bg-gray-200 dark:bg-gray-800 rounded-xl shadow-xl dark:shadow-xl-dark">
  <h2 class="text-2xl font-semibold text-gray-800 dark:text-gray-200 mb-6">Mentions</h2>
  <div class="grid gap-6 md:grid-cols-2 lg:grid-cols-3">
    <div class="flex items-center bg-gray-300 dark:bg-gray-700 p-4 rounded-xl shadow-inner dark:shadow-inner-dark">
      <img class="w-12 h-12 rounded-full mr-4 shadow dark:shadow-dark" src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar">
      <div>
        <p class="text-gray-800 dark:text-gray-200 font-medium">John Doe</p>
        <p class="text-sm text-gray-600 dark:text-gray-400">@johndoe</p>
      </div>
    </div>

    <div class="flex items-center bg-gray-300 dark:bg-gray-700 p-4 rounded-xl shadow-inner dark:shadow-inner-dark">
      <img class="w-12 h-12 rounded-full mr-4 shadow dark:shadow-dark" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User Avatar">
      <div>
        <p class="text-gray-800 dark:text-gray-200 font-medium">Jane Smith</p>
        <p class="text-sm text-gray-600 dark:text-gray-400">@janesmith</p>
      </div>
    </div>

    <div class="flex items-center bg-gray-300 dark:bg-gray-700 p-4 rounded-xl shadow-inner dark:shadow-inner-dark">
      <img class="w-12 h-12 rounded-full mr-4 shadow dark:shadow-dark" src="https://randomuser.me/api/portraits/men/50.jpg" alt="User Avatar">
      <div>
        <p class="text-gray-800 dark:text-gray-200 font-medium">Peter Jones</p>
        <p class="text-sm text-gray-600 dark:text-gray-400">@peterjones</p>
      </div>
    </div>
  </div>
</div>

Related Components

User Mentions Component

A responsive User Mentions Component with Glassmorphism design, analogous color scheme, and dark theme support.

Open

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.

Open

User Mentions Component

A responsive User Mentions Component styled with Neumorphism and Earth tones for social media networking interfaces, featuring dark theme support.

Open