Sizes
API Reference
Props mirror Base UI React where applicable, adapted for Svelte 5. Native HTML attributes for the rendered element are also accepted unless noted.
Avatar.Root
Extends span HTML attributes.
| Property | Type | Default | Description |
|---|---|---|---|
children | Snippet | — | Content rendered inside the part. |
Avatar.Fallback
Extends span HTML attributes.
| Property | Type | Default | Description |
|---|---|---|---|
delay | number | — | — |
children | Snippet | — | Content rendered inside the part. |
Avatar.Image
Also accepts native HTML attributes for the rendered element.
| Property | Type | Default | Description |
|---|---|---|---|
onLoadingStatusChange | ((status: ImageLoadingStatus) => void) | undefined | — | — |