mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 07:13:44 +09:00
first
This commit is contained in:
89
documentation/snack/v-snack-small-icon-documentation.md
Normal file
89
documentation/snack/v-snack-small-icon-documentation.md
Normal file
@@ -0,0 +1,89 @@
|
||||
### Small icons
|
||||
|
||||
`<VSnack />` components than can be displayed in a smaller size.
|
||||
Use the `size="small"` prop on the component to show a smaller version of it.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<VSnack
|
||||
title="Shopping"
|
||||
white
|
||||
size="small"
|
||||
icon="lucide:shopping-cart"
|
||||
>
|
||||
<VIcon icon="lucide:plus" />
|
||||
</VSnack>
|
||||
<VSnack
|
||||
title="Shopping"
|
||||
color="primary"
|
||||
size="small"
|
||||
icon="lucide:smile"
|
||||
>
|
||||
<VIcon icon="lucide:plus" />
|
||||
</VSnack>
|
||||
<VSnack
|
||||
title="Support"
|
||||
color="success"
|
||||
white
|
||||
size="small"
|
||||
icon="lucide:life-buoy"
|
||||
>
|
||||
<VIcon icon="lucide:plus" />
|
||||
</VSnack>
|
||||
<VSnack
|
||||
title="Business"
|
||||
color="info"
|
||||
size="small"
|
||||
icon="lucide:briefcase"
|
||||
>
|
||||
<VIcon icon="lucide:plus" />
|
||||
</VSnack>
|
||||
<VSnack
|
||||
title="Warning"
|
||||
color="warning"
|
||||
white
|
||||
size="small"
|
||||
icon="lucide:alert-octagon"
|
||||
>
|
||||
<VIcon icon="lucide:plus" />
|
||||
</VSnack>
|
||||
<VSnack
|
||||
title="Health"
|
||||
color="danger"
|
||||
white
|
||||
size="small"
|
||||
icon="lucide:thermometer"
|
||||
>
|
||||
<VIcon icon="lucide:plus" />
|
||||
</VSnack>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<div class="snacks">
|
||||
<VSnack title="Shopping" white size="small" icon="lucide:shopping-cart">
|
||||
<VIcon icon="lucide:plus"/>
|
||||
</VSnack>
|
||||
<VSnack title="Shopping" color="primary" size="small" icon="lucide:smile">
|
||||
<VIcon icon="lucide:plus"/>
|
||||
</VSnack>
|
||||
<VSnack title="Support" color="success" white size="small" icon="lucide:life-buoy">
|
||||
<VIcon icon="lucide:plus"/>
|
||||
</VSnack>
|
||||
<VSnack title="Business" color="info" size="small" icon="lucide:briefcase">
|
||||
<VIcon icon="lucide:plus"/>
|
||||
</VSnack>
|
||||
<VSnack title="Warning" color="warning" white size="small" icon="lucide:alert-octagon">
|
||||
<VIcon icon="lucide:plus"/>
|
||||
</VSnack>
|
||||
<VSnack title="Health" color="danger" white size="small" icon="lucide:thermometer">
|
||||
<VIcon icon="lucide:plus"/>
|
||||
</VSnack>
|
||||
</div>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user