Avatar

v1.2.0

Displays user profile images with text fallbacks.

Scale Uniform
Mask Roundness

Interactive Sandbox

Use the controls below to change size and roundness.

Fallbacks

The fallback displays when the image fails to load.

Properties API

All available props for this component.

Property
Type
Default
Description
srcstringundefinedThe targeted user profile image URL source. Tracks cross-origin handshakes safely.
fallbackReact.ReactNodeundefinedRendered fallback node injected automatically if image addresses return 404 or break loading sequences.
size'sm' | 'md' | 'lg' | 'xl''md'Alters aspect locks and structural dimension frames uniformly across your interface maps.
roundness'none' | 'sm' | 'md' | 'lg' | 'full''full'Modifies border radius constraints to conform with modern, minimal, or system window aesthetics.
© 2026 Venti UI Labs. UI made right.