Загрузка...

Стеклянная нижняя навигация с FAB. UI-компонент с 4 иконками и плавающей кнопкой. Адаптивный дизайн на Tailwind CSS для PWA и дашбордов.
<div class="relative h-16 rounded-2xl bg-black/60 backdrop-blur-xl border border-white/10 flex items-center justify-around">
<button id="nav-home" class="nav-icon text-white hover:text-indigo-400 hover:scale-110 transition-all duration-200 active">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-6 h-6"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"></path><path d="M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path></svg>
</button>
<button id="nav-explore" class="nav-icon text-white/50 hover:text-white hover:scale-110 transition-all duration-200">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-6 h-6"><path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" class=""></path><circle cx="12" cy="12" r="10"></circle></svg>
</button>
<!-- FAB -->
<div id="nav-add" class="fab absolute -top-6 left-1/2 -translate-x-1/2 w-14 h-14 rounded-full bg-gradient-to-r from-indigo-500 to-purple-600 shadow-xl grid place-items-center border-4 border-black hover:scale-110 hover:shadow-2xl hover:shadow-indigo-500/30 transition-all duration-300 cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-6 h-6 text-white"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg>
</div>
<button id="nav-favorites" class="nav-icon text-white/50 hover:text-white hover:scale-110 transition-all duration-200">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-6 h-6"><path d="m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z"></path></svg>
</button>
<button id="nav-profile" class="nav-icon text-white/50 hover:text-white hover:scale-110 transition-all duration-200">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-6 h-6"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
</button>
</div>