@bpui/switch

switch button

Usage no npm install needed!

<script type="module">
  import bpuiSwitch from 'https://cdn.skypack.dev/@bpui/switch';
</script>

README

switch

import bpui from '@bpui/switch';
bpui.bpSwitch
<bp-switch v-model="checked" >chk1</bp-switch>
<bp-switch disabled="disabled" >chk2</bp-switch>

style

/* scss */
import '@bpui/libs/style/class.scss';
import '@bpui/switch/style';

/* css */
<link href="~@bpui/switch/dist/style.css" rel="stylesheet" type="text/css"/>