Button
Image + CodePen
Usage
<template>
<vui-button>
</slot>
</vui-button>
</template>
// There is no need to import it in script
Some examples:
<vui-form-row>
<vui-button @click="greet">Meow!</vui-button>
<vui-button @click="submit" ghost>Send form</vui-button>
<vui-button @click="submit" ghost large>Send rockets!</vui-button>
</vui-form-row>
API
Props:
Name
Value
Description
ghost
Boolean
The Ghost version has an outline and white background.
large
Boolean
Makes the button a bit bigger.
onClick
Function
On click handler
Last updated
Was this helpful?