Button
Displays a button or a component that looks like a button.
Variants
Sizes
Icon
Rounded
Disabled
The destructive button components PrimaryDestructiveButton and SecondaryDestructiveButton follow the same disabled styles of PrimaryButton and SecondaryButton respectively
Usage
vue
<script setup lang="ts">
import { PrimaryButton } from '@youcan/ui-vue3';
</script>
<template>
<PrimaryButton>
<template #icon>
💾
</template>
Primary Button + icon
</PrimaryButton>
</template>1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12