NexoreUIv1.8.6
InstallationComponents61IconsTemplatesNEWNexore MakeAI
Create ProjectSTUDIOGitHub
NexoreUI
61 comps
Create Project
Studio
Installation
Components Overview
60+
Icons
300+
Categories6 groups
Button
Input
Checkbox
AI
Select
AI
Switch
Slider
Rating
File Upload
Card
Accordion
Tabs
Table
Stepper
Scroll Area
Navigation
Dock
Data Display
Aurora Border Card
AI
Aurora Search Pill
AI
AI Prompt Input
AI
Command
Interactive Code Block
AI
Pro AI
AI
Theme: cyan
Studio
DocsAvatar

Avatar

User profile pictures with fallback initials.

NextTooltip
On This Page
Quick Actions
Project Studio
New
Nexore 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.