- Home
-
Avatar
Avatar
This Avatar component includes:
1. Responsive design using Tailwind CSS classes
2. Indigo-800 and Blue-900 color scheme
3. Dark mode support
4. User avatar with hover effect and online status indicator
5. User name and role
6. Follow button with hover effect
7. Follower count
8. Subtle animations and transitions
9. Accessibility considerations (proper contrast, focus states)
Key features:
- The background uses a gradient from Indigo-800 to Blue-900
- The avatar card has a white background in light mode and dark gray in dark mode
- Text colors are adjusted for readability in both light and dark modes
- The avatar image has a border color that changes in dark mode
- The avatar has a scale effect on hover and a ring appears around it
- The Follow button uses Indigo-800 with a Blue-900 hover state
- The card has a shadow effect that changes color on hover
- Dark mode is automatically applied based on system preferences
- The entire card has a subtle transition effect for smooth color changes
- Proper focus states are implemented for the button
This design provides a clean, interactive avatar component while incorporating the requested color scheme and maintaining good usability across different devices and color modes.
This tailwind example is contributed by nejaa badr, on 31-Oct-2024. Component is made with Tailwind CSS v3. It is responsive.
Author nejaa badr
Related Examples
-
Chat UI
The Chat UI is a responsive and interactive component designed for building messaging interfaces. Ideal for applications like customer support, social media, or team collaboration tools, it provides a modern, user-friendly layout for real-time communication.
4 months ago1.2k -
Responsive portfolio with dark mode
responsive and support dark mode .portfolio website
7 months ago2.8k -
Responsive Pricing Table
can be used when you want to price
1 week ago11 -
2 years ago9.4k
-
canvas fully covers
canvas fully covers
5 months ago2.4k -
User Avatar
Rounded user avatar component
2 years ago9.7k -
Profile Card
Show more details on hover
1 year ago13.4k -
Stylish Mobile-First Navigation Bar Using Tailwind
This project showcases a sleek, fixed-top responsive navigation bar crafted with Tailwind CSS. Featuring a vibrant gradient background, a bold uppercase logo, and smooth pink hover effects, it adapts beautifully across devices. On desktop, the navigation links appear horizontally with ample spacing, while on mobile, a hamburger menu toggles a stylish dropdown with rounded corners and subtle shadows. The navbar’s semi-transparent backdrop with blur adds a modern glassmorphism touch, making it perfect for contemporary web designs.
1 week ago34 -
Elegant Avatars
Useful Tailwind classes for constructing avatars with status markers. Comes with an example edit/preview avatar for the user to choose an image with the file chooser.
3 weeks ago31 -
2 years ago7.9k
-
CTA block
with user avatars and 2 buttons
1 year ago1.9k -
2 years ago10.7k
Explore components by Tags
Didn't find component you were looking for?
Search from 2400+ components