Avatar | CombricSkip to content

Avatar

Combric

Image and deterministic fallback composition with three published sizes.

@combric/react · v1.1.1 · Current

Import and usage

import { Avatar, AvatarImage, AvatarFallback } from "@combric/react";

Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.

Examples

Avatar

AD

Sizes

SM
MD
LG

AvatarImage

Portrait of a personDA

Public API

Public exports
Name
Avatar
AvatarImage
AvatarFallback
Documented contracts
Property / capabilityPublished contract
sizesm | md | lg
ContractAvatarImage requires alt
ContractAvatarFallback

Accessibility

Preserves native image alternative text; fallback changes do not invent presence semantics.

CSS and customization

Combric classes and canonical --combric-* variables provide the package presentation. Consumer className extends the required class; it does not replace the component contract.

Source

View source on GitHub