Components Tooltip Neumorphic Tooltip Component

Neumorphic Tooltip Component

A sophisticated Neumorphism-styled tooltip component suitable for business websites, employing vibrant colors and designed for dark mode support.

Preview

HTML Code

<div class="relative group flex items-center">
    <!-- Tooltip Trigger -->
    <button class="bg-purple-600 text-white rounded-full p-2 shadow-lg focus:outline-none">
        Hover me
    </button>

    <!-- Tooltip -->
    <div class="absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 w-48 bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 text-sm rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out z-10">
        <div class="p-3">
            <div class="flex items-center space-x-3">
                <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-8 h-8 rounded-full">
                <span class="font-semibold">John Doe</span>
            </div>
            <p class="mt-2">This is a tooltip description to provide additional information.</p>
        </div>
        <div class="rounded-lg bg-purple-600 p-2 text-white text-center font-bold transition-transform transform hover:scale-105">Learn More</div>
    </div>
</div>

Related Components

Retro Tooltip Component

A retro/vintage-themed tooltip component with responsive effects and dark mode support.

Open

Tooltip Component

A Neumorphism styled tooltip component for portfolio showcasing with dark mode support, responsive design, and using Tailwind CSS.

Open

Minimalist Pastel Tooltip

A minimal and flat tooltip component designed for business and corporate websites with pastel colors, responsive design, and dark mode support using Tailwind CSS.

Open