@cblink/button
v0.0.9
Published
--- title: Button description: Button component doc tags: - "components" ---
Downloads
13
Keywords
Readme
title: Button description: Button component doc tags:
- "components"
Button
This is Button component
Install
# use npm
import ui from "@cblink/button";
createApp(App).use(ui);Basic
<template>
<vc-button>default</vc-button>
<vc-button type="primary">primary</vc-button>
<vc-button type="success">success</vc-button>
<vc-button type="info">info</vc-button>
<vc-button type="warning">warning</vc-button>
<vc-button type="danger">danger</vc-button>
</template>Different Size
<template>
<vc-button type="success">default</vc-button>
<vc-button type="success" size="small">small</vc-button>
<vc-button type="success" size="large">large</vc-button>
</template>