Avatar with loading state demonstration
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: A spinner over a 60 percent background veil on the photo, switched on and off by a demo timer
When to use
- Profile photos with initials or a user icon that stand in when the picture is missing or fails
- Presence dots, verified marks and number badges pinned to the corners of a person's photo
- Overlapping team stacks, social proof rows and user chips inside buttons or account triggers
When not to use
- A pulsing placeholder shape held until the photo and name arrive: use the Skeleton component
- An account panel opened from a trigger, with the name, email and grouped actions: use the Dropdown Menu component
- A full account settings page where a person edits photo, name and details: use the Profile blocks
- A workspace members directory with roles, invites and access status: use the Users blocks
Agent notes
setIntervalflipsloadingevery 2 seconds for the demo; driveloadingfrom your real request stateSpinneris imported from@/components/ui/spinnerand is missing from the item's registry dependencies, so install spinner yourself- Initials inside
AvatarFallbackare typed by hand in every example; derive them from each person's name rather than copying the sample letters - A square
Avatarneeds the same radius onAvatarImage,AvatarFallbackand its after pseudo element border, since all 3 default to round
https://reui.io/components/avatar/c-avatar-30.mdget_example("c-avatar-30")npx shadcn@latest add @reui/c-avatar-30Shadcn Components in Avatar Loading State
About Shadcn Avatar Loading State
Avatar with loading state demonstration. Built with the Avatar component. A free, open source shadcn avatar example you can install with npx shadcn@latest add @reui/c-avatar-30 and edit as your own code.
What You Can Build With Shadcn Avatar Loading State
- Composes Avatar, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-avatar-30
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Avatar Examples
- Basic Basic avatar
- Fallbacks Avatar with fallback
- Sizes Avatars with different sizes
- Border Radius Avatars with different border radiuses
- Custom Sizes Avatars with custom sizes
- Status Dots Avatar with an online status badge
- Badge Icons Avatar with badge icon
- Round Badge Corners Avatar with different badge positions
- Square Badge Corners Avatar with different badge positions
- Avatar Group Basic avatar group
- Group With Count Avatar group with numerical count
- Plus Chip Group Avatar group with an icon count
Related Shadcn Component Categories
Open-source shadcn badge components for status labels, feature tags, and count indicators.
Open-source shadcn breadcrumb components for navigation trails, docs hierarchy, and app wayfinding.
Open-source shadcn bubble components for chat threads, assistant replies, and message reactions.
Open-source shadcn button components for primary actions, form submissions, and toolbar controls.
Open-source shadcn button group components for segmented controls, toolbar actions, and view switchers.
Open-source shadcn calendar components for date picking, scheduling flows, and booking interfaces.
Frequently Asked Questions
When should I use Shadcn Avatar Loading State?
Use it for a spinner over a 60 percent background veil on the photo, switched on and off by a demo timer.
Shadcn Avatar as a whole fits:
- Profile photos with initials or a user icon that stand in when the picture is missing or fails
- Presence dots, verified marks and number badges pinned to the corners of a person's photo
- Overlapping team stacks, social proof rows and user chips inside buttons or account triggers
For a pulsing placeholder shape held until the photo and name arrive, use the Skeleton component. For an account panel opened from a trigger, with the name, email and grouped actions, use the Dropdown Menu component. For a full account settings page where a person edits photo, name and details, use the Profile blocks. For a workspace members directory with roles, invites and access status, use the Users blocks.
How do I install Shadcn Avatar Loading State?
Is Shadcn Avatar Loading State free to use?
Which components does Shadcn Avatar Loading State use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.