mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 14:23:32 +09:00
first
This commit is contained in:
61
documentation/avatar/avatar-dot-documentation.md
Normal file
61
documentation/avatar/avatar-dot-documentation.md
Normal file
@@ -0,0 +1,61 @@
|
||||
### Avatar dot
|
||||
|
||||
Avatars can have a small dot attached to them,
|
||||
if you'd like to show a user status for example.
|
||||
Add the `dot` prop to the target avatar component.
|
||||
See code for more details about usage.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<VFlex
|
||||
flex-wrap="wrap"
|
||||
align-items="flex-end"
|
||||
row-gap=".5rem"
|
||||
column-gap=".25rem"
|
||||
>
|
||||
<VAvatar
|
||||
picture="https://media.cssninja.io/content/avatars/7.jpg"
|
||||
size="small"
|
||||
dot
|
||||
/>
|
||||
<VAvatar picture="/images/avatars/svg/vuero-1.svg" dot />
|
||||
<VAvatar
|
||||
picture="https://media.cssninja.io/content/avatars/11.jpg"
|
||||
size="medium"
|
||||
dot
|
||||
/>
|
||||
<VAvatar
|
||||
picture="https://media.cssninja.io/content/avatars/21.jpg"
|
||||
size="large"
|
||||
dot
|
||||
/>
|
||||
<VAvatar
|
||||
picture="https://media.cssninja.io/content/avatars/13.jpg"
|
||||
size="big"
|
||||
dot
|
||||
/>
|
||||
<VAvatar
|
||||
picture="https://media.cssninja.io/content/avatars/5.jpg"
|
||||
size="xl"
|
||||
dot
|
||||
/>
|
||||
</VFlex>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<VFlex flex-wrap="wrap" align-items="flex-end" row-gap=".5rem" column-gap=".25rem">
|
||||
<VAvatar picture="https://media.cssninja.io/content/avatars/7.jpg" size="small" dot />
|
||||
<VAvatar picture="/images/avatars/svg/vuero-1.svg" dot />
|
||||
<VAvatar picture="https://media.cssninja.io/content/avatars/11.jpg" size="medium" dot />
|
||||
<VAvatar picture="https://media.cssninja.io/content/avatars/21.jpg" size="large" dot />
|
||||
<VAvatar picture="https://media.cssninja.io/content/avatars/13.jpg" size="big" dot />
|
||||
<VAvatar picture="https://media.cssninja.io/content/avatars/5.jpg" size="xl" dot />
|
||||
</VFlex>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user