Componente de barra lateral retro
Un componente de barra lateral receptivo con un diseño retro/vintage para exhibir trabajos o productos, utilizando un esquema de color en escala de grises y clases CSS de Tailwind, que admite el modo oscuro.
Código HTML
<div class="flex flex-col h-screen bg-white dark:bg-gray-800">
<div class="flex items-center justify-center p-4 bg-gray-200 dark:bg-gray-700">
<h1 class="text-2xl font-bold text-gray-800 dark:text-white">My Portfolio</h1>
</div>
<div class="flex-grow p-4">
<div class="flex flex-col space-y-4">
<a href="#" class="flex items-center p-2 bg-gray-300 dark:bg-gray-600 rounded hover:bg-gray-400 dark:hover:bg-gray-500 transition ease-in-out duration-200">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User" class="w-10 h-10 rounded-full mr-2">
<span class="text-gray-700 dark:text-gray-200">Home</span>
</a>
<a href="#" class="flex items-center p-2 bg-gray-300 dark:bg-gray-600 rounded hover:bg-gray-400 dark:hover:bg-gray-500 transition ease-in-out duration-200">
<img src="https://randomuser.me/api/portraits/men/2.jpg" alt="User" class="w-10 h-10 rounded-full mr-2">
<span class="text-gray-700 dark:text-gray-200">About</span>
</a>
<a href="#" class="flex items-center p-2 bg-gray-300 dark:bg-gray-600 rounded hover:bg-gray-400 dark:hover:bg-gray-500 transition ease-in-out duration-200">
<img src="https://randomuser.me/api/portraits/men/3.jpg" alt="User" class="w-10 h-10 rounded-full mr-2">
<span class="text-gray-700 dark:text-gray-200">Projects</span>
</a>
<a href="#" class="flex items-center p-2 bg-gray-300 dark:bg-gray-600 rounded hover:bg-gray-400 dark:hover:bg-gray-500 transition ease-in-out duration-200">
<img src="https://randomuser.me/api/portraits/men/4.jpg" alt="User" class="w-10 h-10 rounded-full mr-2">
<span class="text-gray-700 dark:text-gray-200">Contact</span>
</a>
</div>
</div>
<div class="p-4 text-center bg-gray-200 dark:bg-gray-700">
<p class="text-gray-600 dark:text-gray-300">© 2023 My Portfolio. All rights reserved.</p>
</div>
</div>
Componentes relacionados
Componente de la barra lateral
Un componente minimalista de la barra lateral con diseño responsivo y soporte para temas oscuros, que utiliza Tailwind CSS.
Componente de la barra lateral de atención médica
Un componente de barra lateral complejo, minimalista y receptivo para aplicaciones de atención médica, con un esquema de color análogo y compatibilidad con el modo oscuro. Incluye navegación, perfil de usuario y enlaces rápidos.
Neumorphic_Sidebar_Component
Un componente de barra lateral neumórfico simple, receptivo para sitios web comerciales / corporativos con colores complementarios y soporte para modo oscuro.