# Avatar

Use avatar for profile images with initials fallback. Set `size` to `sm`, `default`, or `lg`.
Compose with `Avatar.Badge`, `Avatar.Group`, and `Avatar.GroupCount` for status and stacks.

```svelte
<script lang="ts">
	import * as Avatar from '~/components/avatar';
</script>

<Avatar.Root>
	<Avatar.Image src="https://github.com/shadcn.png" alt="@shadcn" />
	<Avatar.Fallback>CN</Avatar.Fallback>
</Avatar.Root>
```