Skip to content

ux-ui-pro/btn-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


btn-kit

npm GitHub package version NPM Downloads

btn-kit is a Vue 3 component for creating buttons for web applications.
Built-in features include icon support, different button types and sizes, states, effects.

1kB gzipped

Constructor
Sandbox
Docs


Install

yarn add btn-kit

Import

import AppButton from "btn-kit";
import "btn-kit/dist/index.css";

app.component("AppButton", AppButton);

Usage

<template>
  <AppButton theme="awesome" size="md">
    <span class="label">Text</span>
  </AppButton>
</template>

<style lang="scss">
.btn--theme {
  &-awesome {
    --bk-background-h: 180;
    --bk-background-s: 100%;
    --bk-background-l: 25%;
    --bk-color-h: 0;
    --bk-color-s: 0%;
    --bk-color-l: 90%;
  }
}
</style>

License

btn-kit is released under MIT license

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published