E-commerce Navigation Bar
Neumorphism E-commerce Navigation Bar with Earth Tones
HTML Code
<nav class="bg-gray-200 dark:bg-gray-800 shadow-neumorphic-light dark:shadow-neumorphic-dark p-4">
<div class="container mx-auto flex justify-between items-center">
<div class="text-gray-700 dark:text-gray-300 font-bold text-xl">E-Shop</div>
<div class="flex space-x-4">
<input type="text" placeholder="Search..." class="bg-gray-300 dark:bg-gray-700 text-gray-700 dark:text-gray-300 rounded-full py-2 px-4 shadow-neumorphic-inset-light dark:shadow-neumorphic-inset-dark focus:outline-none">
<a href="#" class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100 p-2 rounded-full shadow-neumorphic-light dark:shadow-neumorphic-dark hover:shadow-neumorphic-inset-light dark:hover:shadow-neumorphic-inset-dark">
Cart
</a>
<a href="#" class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100 p-2 rounded-full shadow-neumorphic-light dark:shadow-neumorphic-dark hover:shadow-neumorphic-inset-light dark:hover:shadow-neumorphic-inset-dark">
Account
</a>
</div>
</div>
</nav>
<style>
/* Add these to your Tailwind configuration */
/*
module.exports = {
theme: {
extend: {
boxShadow: {
'neumorphic-light': '9px 9px 16px rgb(163,177,198,.6), -9px -9px 16px rgba(255,255,255, .5)',
'neumorphic-dark': '9px 9px 16px rgba(0,0,0,.6), -9px -9px 16px rgba(50, 50, 50, .5)',
'neumorphic-inset-light': 'inset 3px 3px 7px rgba(163,177,198,.6), inset -3px -3px 7px rgba(255,255,255,.5)',
'neumorphic-inset-dark': 'inset 3px 3px 7px rgba(0,0,0,.6), inset -3px -3px 7px rgba(50, 50, 50,.5)',
}
}
}
}
*/
</style>
Related Components
Retro Dashboard Navigation Component
Retro/Vintage Navigation Component for Dashboard with Vibrant colors, Moderate complexity, responsiveness, and dark theme support.
Navigation Component
A responsive navigation component designed for blog/content consumption with a 3D design style, complementary color scheme, and moderate complexity incorporating some interactive features.
Navigation Component
A responsive dark mode navigation component designed for e-commerce with a pastel color scheme and simple layout.