Component
Bottom Navigation
Mobile bottom tab navigation with centered floating action button. Perfect for social media and content creation apps.
- Component
- Tailwind
- HTML
- MIT
What it does
Capabilities
- Bottom tab bar layout
- Floating centered action button
- Badge notification indicator
- Profile avatar in navigation
- Hover states
Preview
Live component
9:41 100%
devsnips.site/library/tailwind/components/navigation/bottom-navigation/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Navigation/bottom-navigation Tailwind/Components/Navigation/bottom-navigation <nav class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 shadow-lg">
<div class="max-w-lg mx-auto px-4">
<div class="flex items-center justify-around h-16">
<a href="#" class="flex flex-col items-center gap-0.5 text-gray-500 hover:text-indigo-600 transition-colors">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/>
</svg>
<span class="text-xs">Home</span>
</a>
<a href="#" class="flex flex-col items-center gap-0.5 text-gray-500 hover:text-indigo-600 transition-colors">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/>
</svg>
<span class="text-xs">Search</span>
</a>
<a href="#" class="relative flex flex-col items-center gap-0.5 -mt-6">
<div class="w-14 h-14 bg-gradient-to-br from-indigo-500 to-purple-600 rounded-full flex items-center justify-center shadow-lg shadow-indigo-500/40">
<svg class="w-7 h-7 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4"/>
</svg>
</div>
<span class="text-xs text-indigo-600 font-medium mt-0.5">Create</span>
</a>
<a href="#" class="flex flex-col items-center gap-0.5 text-gray-500 hover:text-indigo-600 transition-colors relative">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"/>
</svg>
<span class="absolute -top-1 -right-1 w-4 h-4 bg-red-500 text-white text-xs rounded-full flex items-center justify-center">3</span>
<span class="text-xs">Saved</span>
</a>
<a href="#" class="flex flex-col items-center gap-0.5 text-gray-500 hover:text-indigo-600 transition-colors">
<div class="w-7 h-7 bg-gradient-to-br from-pink-400 to-rose-500 rounded-full flex items-center justify-center">
<span class="text-white text-xs font-medium">JD</span>
</div>
<span class="text-xs">Profile</span>
</a>
</div>
</div>
</nav> # Bottom Navigation
Mobile bottom navigation bar.
## Usage
```bash
npx devsnips add Tailwind/Components/Navigation/bottom-navigation
```
Copy from `code.html`.
## File Structure
`code.html` · `preview.html` · `metadata.json` · `README.md` 39 lines UTF-8 · LF · Spaces: 2
DevSnips AI ready Claude · Cursor · Windsurf
Agent skill & Model Context Protocol
Pass this component straight into your AI workflow. DevSnips exposes each resource as a structured, addressable registry entry, so your agent installs the real files instead of approximating them.
devsnips://components/navigation/bottom-navigation I want to use this DevSnips resource in production: Page: https://devsnips.site/library/tailwind/components/navigation/bottom-navigation/ Install: npx devsnips add Tailwind/Components/Navigation/bottom-navigation This is the Bottom Navigation — Mobile bottom tab navigation with centered floating action button. Perfect for social media and content creation apps. Use this DevSnips resource as the starting point for my project. Adapt it to my project's stack and conventions, fix any issues, and make it production-ready while preserving its intended design and behavior.
Paste into ChatGPT, Claude or your agent — it already carries the page URL and the exact install path.
Resource URI
devsnips://components/navigation/bottom-navigation