search results:

    • Standard
    • React
    Pricing Learn Community
    • + D
    • Light
    • Dark
    • System
    logo TW Elements
    • Getting started
      • Quick start
      • Tutorials
      • Design system
      • Local installation
      • Optimization
      • Dark mode
      • Theming
      • Changelog
      • Migrating to v2
      • Internationalization guide
      • Class customization
      • Icons Integration
    • CommercialNew
      • Pricing
      • License
      • Installation
      • Git & repository
      • Premium Support
    • Integrations
      • Angular
      • ASP.NET
      • Django
      • Express
      • Laravel
      • Next
      • Nuxt
      • Qwik
      • React
      • Remix
      • Solid
      • Svelte
      • SvelteKit
      • Vue
    • Content & styles
      • Animations
      • Animations Extended
      • Colors
      • Dividers
      • Figures
      • Headings
      • Hover effects
      • Icons
      • Images
      • Mask
      • Shadows
      • Typography
    • Navigation
      • Breadcrumbs
      • Footer
      • Headers
      • Mega menu
      • Navbar
      • Offcanvas
      • Pagination
      • Pills
      • Scrollspy
      • Sidenav
      • Tabs
    • Components
      • Accordion
      • Alerts
      • Avatar
      • Badges
      • Button group
      • Buttons
      • Cards
      • Carousel
      • Chips
      • Collapse
      • Dropdown
      • Gallery
      • Jumbotron
      • Lightbox
      • Link
      • List group
      • Modal
      • Notifications
      • Paragraphs
      • Placeholders
      • Popconfirm
      • Popover
      • Progress
      • Rating
      • Scroll back to top button
      • Social buttons
      • Spinners
      • Stepper
      • Testimonials
      • Timeline
      • Toast
      • Tooltip
      • Video
      • Video carousel
    • Forms
      • Autocomplete
      • Checkbox
      • Datepicker
      • Datetimepicker
      • File input
      • Form templates
      • Input Group
      • Inputs
      • Login form
      • Multi range slider
      • Radio
      • Range
      • Registration form
      • Search
      • Select
      • Switch
      • Textarea
      • Timepicker
      • Validation
    • Data
      • Charts
      • Charts advanced
      • Datatables
      • Tables
    • Methods
      • Clipboard
      • Infinite scroll
      • Lazy loading
      • Loading management
      • Ripple
      • Scrollbar
      • Smooth scroll
      • Sticky
      • Touch
    • Design Blocks
      • Admin Charts
      • Admin Complex
      • Admin Forms
      • Admin Maps
      • Admin Navigation
      • Admin tables
      • Banners
      • Contact
      • Content
      • CTA
      • FAQ
      • Features
      • Headers
      • Hero / Intro sections
      • Logo clouds
      • Mega menu
      • News
      • Newsletter
      • Pricing
      • Projects
      • Stats
      • Stats admin
      • Team
      • Testimonials
    • Tools
      • Button generator
      • Card generator
      • Flexbox generator
      • Footer generator
      • Form builder
      • Grid generator
      • Icon generator
      • Instagram Filters generator
      • Logo generator
      • Table generator
      • Typography generator
    • Coming Soon
      • Angular
      • Builder
      • Templates
      • Vue
    • Resources
      • Playground
      • YouTube Channel
      • Private FB Group
      • Newsletter
      • UI Design course New
      • UI / UX tips

    Avatars

    Tailwind CSS Avatars

    Use responsive avatar component with helper examples for avatar dropdown, avatar image, avatar shadow & more. Free download, open-source license.


    Basic examples

    Avatars are visual representations of people or entities and are often displayed within lists or cards.

    Avatar
    • HTML
            
                
          <img
            src="https://tecdn.b-cdn.net/img/new/avatars/2.webp"
            class="w-32 rounded-full"
            alt="Avatar" />
          
            
        

    Hey there 👋 we're excited about TW elements and want to see it grow! If you enjoy it, help the project grow by sharing it with your peers. Every share counts, thank you!

    With shadow

    Use .shadow class to add a shadow to the avatar. In the example below, we add shadow-lg class.

    Avatar
    • HTML
            
                
            <img
              src="https://mdbcdn.b-cdn.net/img/new/avatars/1.webp"
              class="w-32 rounded-full shadow-lg"
              alt="Avatar" />
            
            
        

    Square

    Use the .rounded-lg class to make avatars squared with rounded corners.

    Avatar
    • HTML
            
                
            <img
              src="https://tecdn.b-cdn.net/img/new/avatars/1.webp"
              class="w-32 rounded-lg shadow-lg"
              alt="Avatar" />
            
            
        

    With content

    Easily combine the avatar component with content such as a username and a short description.

    Avatar
    John Doe

    Web designer

    • HTML
            
                
          <div class="text-center">
            <img
              src="https://tecdn.b-cdn.net/img/new/avatars/5.webp"
              class="mx-auto mb-4 w-32 rounded-lg"
              alt="Avatar" />
            <h5 class="mb-2 text-xl font-medium leading-tight">John Doe</h5>
            <p class="text-neutral-500 dark:text-neutral-400">Web designer</p>
          </div>
          
            
        

    Related resources

    Tutorials:

    arbitrary values flexbox spacing masks ripple effect rounded corners shadows sizing

    Extended Docs:

    figures hover effects icons images mask footer navbar avatar cards carousel chips gallery notifications rating social buttons testimonials file input form templates login form registration form ripple borders center grid items display flex position spacing

    Generators and builders:

    Form drag & drop Typography SVG icon Instagram Filters button card table flexbox logo grid footer

    Design System (Figma):

    introduction size matters label overload do not start with the roof secondary questions design system plan the process principles tips and tricks
    • Basic example
    • With shadow
    • Square
    • With content
    • Related resources
    Get useful tips & free resources directly to your inbox along with exclusive subscriber-only content.
    Join our mailing list now
    © 2024 Copyright: MDBootstrap.com

    Access restricted

    To view this section you must have an active PRO account

    Log in to your account or purchase an TWE subscription if you don't have one.

    Buy TWE PRO