PubButton
This is a button component.
Example Usage
vue
<template>
<pub-button>Click me!</pub-button>
</template>
<script setup>
import PubButton from "vuelicity/components/PubButton/PubButton.vue";
</script>
Reference
Properties
Name | Type | Default | Description | Options |
---|---|---|---|---|
theme | string | primary | Color Theme | none , default , primary , secondary , tertiary , danger , warning , success , info , primary-outline , secondary-outline , tertiary-outline , danger-outline , warning-outline , success-outline , info-outline , skeletal |
as | string | button | Element to render | button , a |
type | string | button | Button type for input element | button , submit , reset |
name | string | '' |
Slots
Name | Description |
---|---|
default | Default slot |