Retro Sidebar Component
A responsive sidebar component with a retro/vintage design for showcasing work or products, utilizing a grayscale color scheme and Tailwind CSS classes, supporting dark mode.
HTML Code
<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>
Related Components
Sidebar Component
A responsive dark mode sidebar component designed using Tailwind CSS, featuring dark backgrounds, hover effects, and placeholders for images and avatars.
Simple Vibrant Blog Sidebar
A simple, responsive sidebar component for blog content, designed with vibrant colors and Material-like feel using Tailwind CSS. Includes navigation links and a user profile section. Supports dark mode using Tailwind's dark: prefix. Fixed on larger screens, hidden on smaller screens.
Sidebar Component
A Sidebar Component designed with a skeuomorphic style that provides a real-world feel in a digital format. It supports responsive design and a dark theme.