Component libraryAvatar group
Components/Essentials

Avatar group

Pro

Profile photos, presence indicators and teammate selection.

npx shadcn@latest add @tidal-pro/avatar
Desktop viewport

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

Terminal
npx shadcn@latest add @tidal-pro/avatar

Import components/ui/tidal.css, components/ui/avatar.css, components/ui/tooltip.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.

Usage

Complete example source · Dependency and asset manifest

Loading the complete example…

API & behavior

TidalAvatar: required name, optional src, size sm|md|lg, shape circle|rounded, presence available|away|busy|offline, selected, decorative, native span attributes/ref. Photos render in grayscale, load by opacity and fall back to initials on error. Initials normalize NFC and use Intl.Segmenter graphemes when available, with a normalized code-point fallback. A failed image does not retry on unrelated renders; changing src or remounting creates a fresh attempt. Role img carries name/presence; use decorative inside named controls. TidalAvatarGroup: required label/members({id,name,src?,presence?,disabled?}[]), optional selectedId/onSelect, name/required, theme, dir, className. With onSelect, controlled horizontal Radix radio group with arrows/Home/End, looping disabled skip and native form values. Without it, static people group. Unique nonempty member IDs; choose an enabled member. Only the selected group portrait shows its presence glyph; all accessible names preserve presence words. Includes its own tooltip provider; theme applies to portal. Consumer owns assignment and persistence.

Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.

Building with an agent?Give it the installation guide and component catalog.