RetroTooltip
Eine einfache und reaktionsschnelle Tooltip-Komponente im Retro/Vintage-Stil und Graustufen-Farbschema, die für Unternehmenswebsites geeignet ist. Unterstützt dunkles Design.
HTML-Code
<div class="relative inline-block">
<button class="text-gray-700 dark:text-gray-300 bg-gray-200 dark:bg-gray-700 px-3 py-1 rounded-md font-mono">Hover Me</button>
<div class="invisible absolute z-10 top-full left-1/2 transform -translate-x-1/2 mt-2 w-48 p-2 bg-gray-800 dark:bg-gray-200 text-gray-200 dark:text-gray-800 text-sm rounded shadow-lg opacity-0 transition-all duration-300 group-hover:visible group-hover:opacity-100">
<p class="font-mono">This is a retro-style tooltip!</p>
</div>
</div>
Verwandte Komponenten
Tooltip-Komponente
Eine Tooltip-Komponente im Neumorphism-Stil für die Präsentation von Portfolios mit Unterstützung für den Dunkelmodus, responsivem Design und Verwendung von Tailwind CSS.
Microinteractions Tooltip-Komponente
Eine einfache, aber ansprechende Tooltip-Komponente mit subtilen Mikrointeraktionsanimationen, responsivem Design und Unterstützung für dunkle Themen, die mit Tailwind CSS erstellt wurden. Es ist kein JavaScript erforderlich.
Retro-Tooltip-Komponente
Eine Tooltip-Komponente im Retro-/Vintage-Stil mit responsiven Effekten und Unterstützung für den Dunkelmodus.