Breadcrumb-Navigationskomponente
Eine reaktionsschnelle Breadcrumb-Navigationskomponente, die im Neumorphism-Stil entworfen wurde und den Dunkelmodus unterstützt und mit Tailwind CSS erstellt wurde.
HTML-Code
<nav class="bg-white dark:bg-gray-800 shadow-lg rounded-lg p-4 mx-4">
<ol class="list-reset flex items-center space-x-2">
<li>
<a href="#" class="text-gray-600 dark:text-gray-400 hover:text-blue-500 dark:hover:text-blue-300 transition duration-300">
Home
</a>
<svg class="w-4 h-4 text-gray-400 dark:text-gray-600" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h14m-7 7l7-7-7-7" /></svg>
</li>
<li>
<a href="#" class="text-gray-600 dark:text-gray-400 hover:text-blue-500 dark:hover:text-blue-300 transition duration-300">
Category
</a>
<svg class="w-4 h-4 text-gray-400 dark:text-gray-600" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h14m-7 7l7-7-7-7" /></svg>
</li>
<li>
<span class="text-gray-400 dark:text-gray-600">
Sub-category
</span>
</li>
</ol>
</nav>
<style>
/* Neumorphism Styling */
.bg-white {
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.7);
}
.dark .bg-gray-800 {
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3), -10px -10px 20px rgba(0, 0, 0, 0.7);
}
a {
transition: all 0.3s ease;
}
</style>
Verwandte Komponenten
Breadcrumb-Navigationskomponente
Eine reaktionsschnelle Breadcrumb-Navigationskomponente mit einem minimalistischen, flachen Stil, der für Blogs und den Konsum von Inhalten geeignet ist. Es enthält interaktive Elemente für eine einfache Navigation und unterstützt den Dunkelmodus.
Breadcrumb-Navigationskomponente
Responsive Breadcrumb-Navigationskomponente im Stil von Material Design und Tailwind CSS, mit Unterstützung für dunkle Themen und einem triadischen Farbschema.
Breadcrumb-Navigationskomponente
Breadcrumb-Navigationskomponente mit Skeuomorphismus-Design, responsiven Effekten und Unterstützung für dunkle Themen.