Activity Feed Component
A responsive activity feed component designed in a 3D style with dark theme support, incorporating three-dimensional elements for depth and engagement.
HTML Code
<div class="bg-gray-100 dark:bg-gray-800 p-6 rounded-lg shadow-lg transition-transform transform hover:scale-105">
<h2 class="text-2xl font-bold text-gray-800 dark:text-gray-200 mb-4">Activity Feed</h2>
<div class="space-y-4">
<!-- Activity Item -->
<div class="flex items-start transition-shadow hover:shadow-xl bg-white dark:bg-gray-700 p-4 rounded-lg shadow-md">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
<div>
<p class="text-gray-800 dark:text-gray-200 font-semibold">John Doe</p>
<p class="text-gray-600 dark:text-gray-400">Liked your post about web development.</p>
<span class="text-sm text-gray-500 dark:text-gray-500">2 hours ago</span>
</div>
</div>
<!-- Activity Item -->
<div class="flex items-start transition-shadow hover:shadow-xl bg-white dark:bg-gray-700 p-4 rounded-lg shadow-md">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/women/2.jpg" alt="User Avatar">
<div>
<p class="text-gray-800 dark:text-gray-200 font-semibold">Jane Smith</p>
<p class="text-gray-600 dark:text-gray-400">Commented on your picture.</p>
<span class="text-sm text-gray-500 dark:text-gray-500">5 hours ago</span>
</div>
</div>
<!-- Activity Item -->
<div class="flex items-start transition-shadow hover:shadow-xl bg-white dark:bg-gray-700 p-4 rounded-lg shadow-md">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/men/3.jpg" alt="User Avatar">
<div>
<p class="text-gray-800 dark:text-gray-200 font-semibold">Mike Johnson</p>
<p class="text-gray-600 dark:text-gray-400">Started following you.</p>
<span class="text-sm text-gray-500 dark:text-gray-500">1 day ago</span>
</div>
</div>
<!-- Activity Item -->
<div class="flex items-start transition-shadow hover:shadow-xl bg-white dark:bg-gray-700 p-4 rounded-lg shadow-md">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/men/4.jpg" alt="User Avatar">
<div>
<p class="text-gray-800 dark:text-gray-200 font-semibold">Emily Davis</p>
<p class="text-gray-600 dark:text-gray-400">Shared your post.</p>
<span class="text-sm text-gray-500 dark:text-gray-500">3 days ago</span>
</div>
</div>
</div>
<div class="mt-6 text-center">
<img class="rounded-lg transition-transform transform hover:scale-105" src="https://picsum.photos/400/200?random=1" alt="Placeholder Image">
</div>
</div>
Related Components
Activity Feed Component
A complex activity feed component for e-commerce with microinteractions and a dark theme, styled using Tailwind CSS.
ActivityFeedComponent
A simple retro/vintage-styled activity feed component designed for blog content consumption, featuring a monochromatic blue color scheme and responsive dark mode support using Tailwind CSS.
Activity Feed Component
A responsive activity feed component designed for dark mode UI using Tailwind CSS.