导航增强组件

一个采用新拟态风格的导航组件,支持暗模式和响应式设计。

预览

HTML 代码

<nav class="bg-gray-100 dark:bg-gray-800 shadow-lg rounded-lg p-4 flex flex-col md:flex-row items-center justify-between transition-all duration-300">
    <div class="flex items-center">
        <img src="https://picsum.photos/40" alt="Logo" class="w-10 h-10 rounded-full shadow-md mb-2">
        <span class="text-xl font-semibold text-gray-800 dark:text-gray-200 ml-2">Brand Name</span>
    </div>
    <div class="flex flex-col md:flex-row md:space-x-4 mt-4 md:mt-0">
        <a href="#" class="text-gray-700 dark:text-gray-300 py-2 px-4 rounded-lg shadow-md hover:shadow-xl transition-shadow duration-300">Home</a>
        <a href="#" class="text-gray-700 dark:text-gray-300 py-2 px-4 rounded-lg shadow-md hover:shadow-xl transition-shadow duration-300">About</a>
        <a href="#" class="text-gray-700 dark:text-gray-300 py-2 px-4 rounded-lg shadow-md hover:shadow-xl transition-shadow duration-300">Services</a>
        <a href="#" class="text-gray-700 dark:text-gray-300 py-2 px-4 rounded-lg shadow-md hover:shadow-xl transition-shadow duration-300">Contact</a>
    </div>
    <div class="mt-4 md:mt-0">
        <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Avatar" class="w-10 h-10 rounded-full shadow-md">
    </div>
</nav>

相关组件

Playful_Consulting_Navigation_Component

一个简单、有趣、欢快的咨询/服务导航组件,具有圆润的元素、带有明亮口音的单色配色方案,以及支持深色模式的完全响应能力。

打开

深色模式媒体导航

一个复杂的响应式导航组件,适用于娱乐/媒体平台,具有深色模式 UI 和森林/绿色调色板。包括徽标、搜索栏、导航链接、用户配置文件和通知铃铛。

打开

导航增强组件

一个受玻璃质感启发的导航组件,旨在展示组合作品和产品,采用大地色调和支持暗模式。该组件具有磨砂玻璃效果、响应式设计和简约元素。

打开