mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 07:23:50 +09:00
first
This commit is contained in:
41
documentation/avatar/avatar-fake-documentation.md
Normal file
41
documentation/avatar/avatar-fake-documentation.md
Normal file
@@ -0,0 +1,41 @@
|
||||
### Fake avatar
|
||||
|
||||
When the provided picture URL is null, the avatar component
|
||||
falls back to a fake avatar. Same size mofifiers are available.
|
||||
Use the `initials` prop to pass initials to the component.
|
||||
See the code examples for more details about usage.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<VFlex
|
||||
flex-wrap="wrap"
|
||||
align-items="flex-end"
|
||||
row-gap=".5rem"
|
||||
column-gap=".25rem"
|
||||
>
|
||||
<VAvatar initials="CT" size="small" />
|
||||
<VAvatar initials="CT" />
|
||||
<VAvatar initials="CT" size="medium" />
|
||||
<VAvatar initials="CT" size="large" />
|
||||
<VAvatar initials="CT" size="big" />
|
||||
<VAvatar initials="CT" size="xl" />
|
||||
</VFlex>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<VFlex flex-wrap="wrap" align-items="flex-end" row-gap=".5rem" column-gap=".25rem">
|
||||
<VAvatar initials="CT" size="small" />
|
||||
<VAvatar initials="CT" />
|
||||
<VAvatar initials="CT" size="medium" />
|
||||
<VAvatar initials="CT" size="large" />
|
||||
<VAvatar initials="CT" size="big" />
|
||||
<VAvatar initials="CT" size="xl" />
|
||||
</VFlex>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user