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 Dashboard Sidebar</title> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4.2.1"></script> </head> <body class="bg-indigo-50 flex h-screen overflow-hidden"> <aside class="w-72 bg-white flex flex-col border-r border-indigo-100 shadow-xl"> <!-- Brand --> <div class="p-8"> <div class="flex items-center space-x-3"> <div class="h-10 w-10 bg-indigo-600 rounded-2xl flex items-center justify-center text-white font-black text-xl shadow-lg shadow-indigo-100 italic transition-transform hover:rotate-6 select-none">V</div> <span class="text-2xl font-black text-slate-800 tracking-tighter">VENTURE</span> </div> </div> <!-- Stats summary inside sidebar --> <div class="px-8 pb-6"> <div class="bg-indigo-50/50 rounded-2xl p-5 border border-indigo-100/50"> <p class="text-[10px] font-bold text-indigo-400 uppercase tracking-widest mb-1">Monthly Goal</p> <div class="flex items-end justify-between mb-2"> <span class="text-xl font-black text-slate-800 tracking-tight">$14.2k</span> <span class="text-[11px] font-bold text-emerald-500">+12%</span> </div> <div class="h-1.5 w-full bg-indigo-100 rounded-full overflow-hidden"> <div class="h-full w-2/3 bg-indigo-500 rounded-full"></div> </div> </div> </div> <!-- Navigation --> <nav class="flex-1 px-8 space-y-4 overflow-y-auto"> <div> <h3 class="text-[10px] font-bold text-slate-400 uppercase tracking-widest mb-4">Core</h3> <div class="space-y-1"> <a href="##" class="flex items-center space-x-3 px-4 py-3 bg-indigo-600 text-white rounded-xl shadow-lg shadow-indigo-100 transition-all font-bold text-sm"> <svg class="h-5 w-5 opacity-80" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z" /></svg> <span>Analytics</span> </a> <a href="##" class="flex items-center space-x-3 px-4 py-3 text-slate-500 hover:text-slate-800 hover:bg-slate-50 transition-all font-bold text-sm rounded-xl"> <svg class="h-5 w-5 opacity-40 group-hover:opacity-100" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2" /></svg> <span>Documents</span> </a> <a href="##" class="flex items-center space-x-3 px-4 py-3 text-slate-500 hover:text-slate-800 hover:bg-slate-50 transition-all font-bold text-sm rounded-xl"> <svg class="h-5 w-5 opacity-40 group-hover:opacity-100" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z" /></svg> <span>Community</span> </a> </div> </div> </nav> <!-- Bottom Action --> <div class="p-8"> <button class="w-full flex items-center justify-center space-x-2 py-4 bg-slate-900 hover:bg-black text-white rounded-2xl font-black text-sm transition shadow-2xl active:scale-95"> <svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" /></svg> <span>Add Property</span> </button> </div> </aside> <main class="flex-1 p-12 overflow-y-auto"> <div class="max-w-4xl"> <h1 class="text-4xl font-black text-slate-800 tracking-tight mb-2">Performance Dashboard</h1> <p class="text-slate-500 font-bold uppercase tracking-widest text-[11px] mb-12">Reporting period: Oct 1 - Oct 31, 2026</p> <div class="grid grid-cols-2 gap-8 h-96"> <div class="bg-white rounded-3xl border border-indigo-100/50 shadow-sm p-8 italic text-slate-300">Revenue stats...</div> <div class="bg-white rounded-3xl border border-indigo-100/50 shadow-sm p-8 italic text-slate-300">User behavior...</div> </div> </div> </main> </body> </html>