Avatar
iconiq-ui/avatarFreeComponent
Compound Base UI avatar with image, fallback, variant status badge, grouped stack, overflow count, auto initials, and tooltip-enabled status hints.
Live preview
live · rendered by the registry
Rendered by Iconiq UI on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://www.iconiqui.com/r/avatar.jsonSource
1"use client";23import { Avatar as AvatarPrimitive } from "@base-ui/react/avatar";4import { Slot } from "@radix-ui/react-slot";5import { AnimatePresence, motion, useReducedMotion } from "motion/react";6import * as React from "react";7import { createPortal } from "react-dom";89import { cn } from "@/lib/utils";1011const componentThemeClassName =12// … truncated
What it pulls in
npm packages
Files it writes
More from Iconiq UI
All 119 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | Iconiq UI | Components | Free | 2 deps | |
| AI Inputai-input | Iconiq UI | Components | Free | 3 deps | |
| Alertalert | Iconiq UI | Components | Free | 2 deps | |
| Accordion (Base UI)b-accordion | Iconiq UI | Components | Free | 2 deps | |
| Alert Dialog (Base UI)b-alert-dialog | Iconiq UI | Components | Free | 3 deps | |
| Autocomplete (Base UI)b-autocomplete | Iconiq UI | Components | Free | 3 deps | |
| Avatar (Base UI)b-avatar | Iconiq UI | Components | Free | 2 deps | |
| Button (Base UI)b-button | Iconiq UI | Components | Free | 4 deps |
