interface QAvatarProps extends HTMLAttributes<HTMLElement>
?: string = ""?: boolean = $bindable(false)
?: QAvatarShapeOptions = "circle"
?: QSize | CssValue | number = "sm"
?: QAvatarVideoSrcOptions[] = undefined
?: string = undefined?: boolean = falseSelected: Alex Taylor · Marine ecologist
src for an image, or put initials and icons in the default snippet.
Initials use title-medium typography and primary container colors; theme classes
let each identity stand out.Our floating field lab
Equipment & observations
Samples from the morning tide
xs (32px) to xl (64px); the default is sm (40px). Custom sizes accept CSS lengths or numbers in pixels. Images and icons
keep their dimensions while named-size initials can grow with text. A circle is the Material
3 default; the other shapes are Quaff extensions.Survey boat · Berth 04
video with an MP4 src, or provide typed sources for other formats. Videos are muted and loop. They autoplay by default; start with paused and bind it to a playback control when motion is optional.Citrus on ice, from the galley. Recorded clip · no audio.
alt="" when nearby text already names them. Give an
informative image meaningful alt text. For standalone initials, icons or
video, use role="img" and an accessible name. Wrap interactive avatars in a labelled
button or link, as in the crew picker above.The videoAccessibility snippet accepts caption tracks and fallback content. Fallback
text alone does not provide captions or playback controls.