PvButton
Documentation
Example
Source
HTML
<script setup lang="ts">
import PvButton from "@/components/base/PvButton/PvButton.vue";
</script>
<template>
<PvButton variant="primary"> Hello World </PvButton>
</template>
Properties
Prop Name | Type | Required | Default | Description |
---|---|---|---|---|
disabled |
boolean | undefined |
no |
false |
- |
inverse |
boolean | undefined |
no |
false |
- |
loading |
boolean | undefined |
no |
false |
- |
shadow |
boolean | undefined |
no |
false |
- |
size |
"small" | "large" | undefined |
no |
undefined |
- |
variant |
"primary" | "secondary" | "tertiary" | "ghost" | "icon" | "primary-outline" | "secondary-outline" | "link" | "destructive" | "destructive-outline" | "icon-outline" | "transformer" | undefined |
no |
“primary” |
- |
Slot Name | Description |
---|---|
default |
- |