templUI Pro coming soon  

50% OFF Join Waitlist

Avatar

Visual representation of a user through images or initials.

TailwindCSS
Vanilla JS

User avatar

Installation

  1. Install the component

    templui add avatar
  2. Add the JavaScript to your layout

    @avatar.Script()
    

    Call this template in your base layout file (e.g., in the <head> section).

Examples

Fallback

JD

Sizes

User avatar
User avatar
User avatar

With Icon

Group

User avatar
User avatar
User avatar
+2