feat: add gradient(monochrome, duotone), outline colored button. prefix and suffix slots button

This commit is contained in:
Alexandr
2022-06-30 19:56:08 +03:00
parent 957419b2b0
commit 6d043fd53d
15 changed files with 327 additions and 23 deletions

View File

@@ -0,0 +1,13 @@
<template>
<div class="inline-flex align-center gap-2 flex-wrap">
<Button color="default">
Choose plan
<template #suffix>
<svg class="w-5 h-5 ml-2 -mr-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg>
</template>
</Button>
</div>
</template>
<script setup>
import { Button } from '../../../../src/index'
</script>