Getting Started
Foundations
Components
Search for a command to run...
Avatars are used to identify users, accounts, or entities throughout an interface. They typically display a profile picture, but gracefully fall back to initials or a placeholder when an image is unavailable or fails to load. Avatars are commonly found in user profiles, comment sections, navigation bars, and anywhere user identification is needed.
Built on top of Radix UI's Avatar primitive with automatic fallback handling and accessibility support.
import { Avatar } from "@strongtie/design-system/avatar"This module exports the following components:
AvatarAvatarImageAvatarFallbackAll components extend Radix UI primitives. See the Radix UI documentation for all available props.
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
The following data attributes are used to identify component parts:
avataravatar-fallbackavatar-imageOther CSS classes used by this component:
avataravatar-fallbackavatar-imageThis component inherits accessibility features from Radix UI, including: