Skip to content

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

NameTypeDefaultDescriptionOptions
themestringprimaryColor Themenone, default, primary, secondary, tertiary, danger, warning, success, info, primary-outline, secondary-outline, tertiary-outline, danger-outline, warning-outline, success-outline, info-outline, skeletal
asstringbuttonElement to renderbutton, a
typestringbuttonButton type for input elementbutton, submit, reset
namestring''

Slots

NameDescription
defaultDefault slot

Released under the MIT License.