Toggle navigation
☰
HTML
CSS
Scripting
Database
<!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Tailwind CSS Vertical Tabs</title> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4.2.1"></script> </head> <body class="bg-gray-50 flex items-center justify-center min-h-screen p-6 antialiased" x-data="{ activeTab: 1 }"> <div class="w-full max-w-4xl bg-white rounded-[3.5rem] shadow-4xl border border-white overflow-hidden flex flex-col md:flex-row min-h-[500px]"> <!-- Sidebar Tabs --> <div class="w-full md:w-72 bg-slate-900 p-8 flex flex-col h-full shrink-0"> <div class="mb-10 px-2"> <div class="h-8 w-8 bg-indigo-600 rounded-lg shadow-lg flex items-center justify-center mb-4 rotate-45"> <div class="h-4 w-4 bg-white rounded-[2px] -rotate-45"></div> </div> <h3 class="text-xs font-black text-white uppercase tracking-widest italic">Node Command</h3> </div> <div class="space-y-2"> <template x-for="tab in [{id: 1, name: 'Core Sync'}, {id: 2, name: 'Manifest Hub'}, {id: 3, name: 'Risk Control'}, {id: 4, name: 'Mesh Metrics'}]"> <button @click="activeTab = tab.id" class="w-full flex items-center justify-between px-6 py-4 rounded-2xl transition-all group cursor-pointer" :class="activeTab === tab.id ? 'bg-white/10 text-white shadow-xl' : 'text-slate-500 hover:text-slate-300'" > <span class="text-[10px] font-black uppercase tracking-widest" x-text="tab.name"></span> <div x-show="activeTab === tab.id" class="h-1.5 w-1.5 bg-indigo-500 rounded-full animate-pulse shadow-[0_0_10px_rgba(99,102,241,0.8)]"></div> </button> </template> </div> <div class="mt-auto pt-10 px-2 border-t border-white/5"> <p class="text-[9px] font-bold text-slate-600 uppercase tracking-widest leading-relaxed italic">Last Sync: Verified 4m ago.</p> </div> </div> <!-- Content Area --> <div class="flex-1 p-16"> <div x-show="activeTab === 1" x-transition class="space-y-6"> <div class="inline-flex items-center gap-2 px-3 py-1 bg-emerald-50 text-emerald-600 text-[10px] font-black uppercase tracking-widest rounded-full italic">Status: Verified</div> <h2 class="text-4xl font-black text-slate-800 tracking-tighter italic">Global Core Synchronization</h2> <p class="text-base text-slate-500 leading-relaxed font-medium">All neural pathways are currently broadcasting at peak efficiency. Regional clusters report 0ms jitter and high-fidelity packet delivery across the backbone.</p> </div> <div x-show="activeTab === 2" x-transition class="space-y-6"> <div class="inline-flex items-center gap-2 px-3 py-1 bg-indigo-50 text-indigo-600 text-[10px] font-black uppercase tracking-widest rounded-full italic">Access: Lead</div> <h2 class="text-4xl font-black text-slate-800 tracking-tighter italic">Manifest Distribution Hub</h2> <p class="text-base text-slate-500 leading-relaxed font-medium">Access your primary workload manifests and node configurations. Version control is automatically managed via the decentralized sector bridge.</p> </div> <div x-show="activeTab === 3" x-transition class="space-y-6"> <div class="inline-flex items-center gap-2 px-3 py-1 bg-rose-50 text-rose-600 text-[10px] font-black uppercase tracking-widest rounded-full italic">Security: High</div> <h2 class="text-4xl font-black text-slate-800 tracking-tighter italic">Risk & Control Parameters</h2> <p class="text-base text-slate-500 leading-relaxed font-medium">Monitoring anomalous activity across restricted sectors. Automated countermeasures are currently on standby for region 3 activity.</p> </div> <div x-show="activeTab === 4" x-transition class="space-y-6"> <div class="inline-flex items-center gap-2 px-3 py-1 bg-slate-50 text-slate-600 text-[10px] font-black uppercase tracking-widest rounded-full italic">Tier: Platinum</div> <h2 class="text-4xl font-black text-slate-800 tracking-tighter italic">Mesh Topology Metrics</h2> <p class="text-base text-slate-500 leading-relaxed font-medium">Visualizing the current mesh interconnectivity. Node density is currently at optimal levels for the requested geographic distribution.</p> </div> </div> </div> <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script> </body> </html>