Skip to main content
ALEXY LINK

Avatar 09

A smart fallback avatar that moves from image to initials to guest, with verified identity.

Requirements

HTML, CSS, JavaScript

Dependencies

None

Usage

Copy index.html, styles.css and script.js into your project.

Typography: Inter, with a system sans-serif fallback.

About Avatar 09

Avatar 09 is an avatar component in the Avatar Components collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated September 15, 2026.

  • avatar
  • fallback

What the code includes

HTML + CSS + JavaScript

3 files: index.html, styles.css, script.js

  • Behavior is handled in script.js.
  • HTML elements used: section, ul, button, img, svg.
  • Includes a prefers-reduced-motion rule for its animation.

React + TypeScript + Tailwind CSS

3 files: Avatar09.jsx, Avatar09.types.ts, Avatar09.tailwind.css

  • Configurable through 7 props: name, src, verified, size, label, decorative, className.
  • Uses React hooks: useState.
  • ARIA in the markup: aria-label.
  • HTML elements used: ul, button, img, svg.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive Tailwind breakpoints used: sm.
View all Avatar Components (10)