mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 12:33:51 +09:00
first
This commit is contained in:
72
documentation/snack/v-snack-white-documentation.md
Normal file
72
documentation/snack/v-snack-white-documentation.md
Normal file
@@ -0,0 +1,72 @@
|
||||
### VSnack white
|
||||
|
||||
Vuero provides a `<VSnack />` component than can be used to show
|
||||
a pill with an image. Use the `image` prop to insert an image
|
||||
inside the component. You cna also use the `white` prop to make
|
||||
the component background white.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<VSnack
|
||||
title="Support"
|
||||
white
|
||||
image="https://media.cssninja.io/content/photos/misc/buoy.jpg"
|
||||
>
|
||||
<VIcon icon="lucide:x" />
|
||||
</VSnack>
|
||||
<VSnack
|
||||
title="Metamovies"
|
||||
white
|
||||
image="/images/icons/logos/metamovies.svg"
|
||||
>
|
||||
<VIcon icon="lucide:x" />
|
||||
</VSnack>
|
||||
<VSnack
|
||||
title="Corporate"
|
||||
white
|
||||
image="https://media.cssninja.io/content/avatars/7.jpg"
|
||||
>
|
||||
<VIcon icon="lucide:x" />
|
||||
</VSnack>
|
||||
<VSnack
|
||||
title="English"
|
||||
white
|
||||
image="/images/icons/flags/united-states-of-america.svg"
|
||||
>
|
||||
<VIcon icon="lucide:x" />
|
||||
</VSnack>
|
||||
<VSnack
|
||||
title="Slicer"
|
||||
white
|
||||
image="/images/icons/logos/slicer.svg"
|
||||
>
|
||||
<VIcon icon="lucide:x" />
|
||||
</VSnack>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<div class="snacks">
|
||||
<VSnack title="Support" white image="https://media.cssninja.io/content/photos/misc/buoy.jpg">
|
||||
<VIcon icon="lucide:x"/>
|
||||
</VSnack>
|
||||
<VSnack title="Metamovies" white image="/images/icons/logos/metamovies.svg">
|
||||
<VIcon icon="lucide:x"/>
|
||||
</VSnack>
|
||||
<VSnack title="Corporate" white image="https://media.cssninja.io/content/avatars/7.jpg">
|
||||
<VIcon icon="lucide:x"/>
|
||||
</VSnack>
|
||||
<VSnack title="English" white image="/images/icons/flags/united-states-of-america.svg">
|
||||
<VIcon icon="lucide:x"/>
|
||||
</VSnack>
|
||||
<VSnack title="Slicer" white image="/images/icons/logos/slicer.svg">
|
||||
<VIcon icon="lucide:x"/>
|
||||
</VSnack>
|
||||
</div>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user