2022-03-29 00:44:23 -07:00
|
|
|
Avatars are used for project icons and user profile pictures. Low resolution images are rendered pixelated to preserve pixel art.
|
|
|
|
|
|
2022-04-16 00:29:35 -07:00
|
|
|
```svelte example raised
|
2022-03-20 00:19:51 -07:00
|
|
|
<script lang="ts">
|
2022-06-04 00:46:23 -07:00
|
|
|
import { Avatar } from 'omorphia'
|
2022-03-20 00:19:51 -07:00
|
|
|
</script>
|
|
|
|
|
|
2022-03-29 00:44:23 -07:00
|
|
|
<Avatar size="lg" circle src="https://avatars3.githubusercontent.com/u/44736536?v=4" />
|
|
|
|
|
<Avatar size="md" src="https://cdn.modrinth.com/data/AANobbMI/icon.png" />
|
2022-06-04 00:46:23 -07:00
|
|
|
<Avatar
|
|
|
|
|
size="md"
|
|
|
|
|
src="https://staging-cdn.modrinth.com/data/d1SqMrzw/9a39b0c80a49976b0c04053682708374e18105fe.png" />
|
2022-03-20 00:19:51 -07:00
|
|
|
<Avatar size="sm" />
|
2022-03-29 00:44:23 -07:00
|
|
|
<Avatar size="xs" circle src="https://avatars1.githubusercontent.com/u/6166773?v=4" />
|
|
|
|
|
```
|