NexoreUI
2.0
InstallationComponentsIconsTemplatesNewNexore MakePricing
Create Project
GitHub
NexoreUI
2.0
Navigation
InstallationComponentsIconsTemplatesNexore MakeCreate Project
InstallationComponents OverviewIcons
Categories (65)
ButtonInputCheckboxSelectSwitchSliderRatingFile Upload
CardAccordionTabsTableStepperScroll AreaNavigationDockData DisplayChartsCommerce
Modal (Dialog)AlertBadgeAvatarTooltipProgressSkeletonLoadersToasterSocial
Aurora Border CardAurora Search PillAI Prompt InputCommandInteractive Code BlockPro AI
Media ShowcaseOverlays & DrawersPro ButtonsPro DashboardsPro E-CommercePro FeedbackPro FormsPro InputsPro LayoutsPro ListsPro MarketingPro NavigationPro TablesSpecial FormsUltra Components
OverviewPro CardsPro ObjectsSoundPulseSilkUnveilNode Flow Graph
NexoreUI v2.0Studio
DocsAvatar

Avatar

User profile pictures with fallback initials.

PreviousBadge
NextTooltip
On This Page
Quick ActionsProject StudioNewNexore Make (AI)Source on GitHub

Avatars

User profile image representations with status dots and fallbacks.

When to use

default avatarProfile settings, headers, user menus, comment authors
stack avatarColleague lists, project members list, active chat members groups
dotted / pulse avatarIndicating active online, away, or busy status in messaging apps
initials fallbackDefault render state when a user hasn't uploaded a photo or image load fails

Interactive Playground

Live CanvasInteractive
NX
Controls(2)
src
text

URL of the avatar image

fallback
text

Fallback initials when image fails to load

Generated JSX
Source
import { Avatar } from "nexoreui"

<Avatar />

Default Avatar

CN
component.tsx
1

Stack Avatar

component.tsx
1

Dotted Avatar

component.tsx
1

Shadow Avatar

component.tsx
1

Polymorph Avatar

component.tsx
1
Page 1 of 2

API Reference (Props)

PropTypeDefaultDescription
srcstring—The image source URL for the avatar.
fallbackstring—Initials to display as a fallback if the image fails to load.
classNamestring—Additional custom class names.

Accessibility (a11y)

  • Image Fallbacks: If the image fails to load or the source URL is invalid, the component automatically hides the image and displays the initials fallback, ensuring a consistent visual appearance.
  • ARIA labels: Avatars should include descriptive alt text or labels (e.g. `aria-label="User Profile"`) if they function as interactive links or icons.