BrutalistFilters
A simple and brutalist filter component for social media applications, with a complementary color scheme and dark mode support.
HTML Code
<div class="container mx-auto p-4 dark:bg-gray-900">
<div class="flex flex-col md:flex-row items-start md:items-center justify-between border-2 border-black dark:border-white p-4">
<h2 class="text-2xl font-bold text-black dark:text-white mb-4 md:mb-0">Filters</h2>
<div class="flex flex-wrap gap-2">
<button class="px-4 py-2 bg-blue-500 text-white font-bold border-2 border-black dark:border-white hover:bg-blue-700 dark:bg-yellow-500 dark:text-black dark:hover:bg-yellow-700 transition duration-300">Latest</button>
<button class="px-4 py-2 bg-red-500 text-white font-bold border-2 border-black dark:border-white hover:bg-red-700 dark:bg-green-500 dark:text-black dark:hover:bg-green-700 transition duration-300">Popular</button>
<button class="px-4 py-2 bg-green-500 text-white font-bold border-2 border-black dark:border-white hover:bg-green-700 dark:bg-red-500 dark:text-black dark:hover:bg-red-700 transition duration-300">Friends</button>
<button class="px-4 py-2 bg-yellow-500 text-white font-bold border-2 border-black dark:border-white hover:bg-yellow-700 dark:bg-blue-500 dark:text-black dark:hover:bg-blue-700 transition duration-300">Following</button>
</div>
</div>
</div>
Related Components
Filters Component
A filters component designed with a skeuomorphic style mimicking real-world controls, utilizing a grayscale color scheme, perfect for dashboards with complex interactive elements.
Filters Component
A Brutalist Filters Component with Tailwind CSS, featuring a responsive design, dark theme support, and placeholders for images and avatars.
BrutalistFiltersComponent
A brutalist-style filters component with high contrast, bold typography, and unusual spacing. It includes checkboxes, radio buttons, and a price range slider. Responsive effects are achieved through media queries and fluid units. Dark mode is supported via CSS.