@yaroslav_ant/vuesual-library

0.1.12 • Public • Published

VueSual Lib

Install

npm install @yaroslav_ant/vuesual-library

Then, import and register the component:

import Vue from "vue";
import { VslBadge } from "@yaroslav_ant/vuesual-library";

Vue.component(VslBadge);

Import styles into top application level (main.js):

import "@yaroslav_ant/vuesual-library/src/assets/vsl-theme.scss";

Components

VslAvatar


VslBadge


VslButton

<VslButton @click="handleButtonClick">
  Оформить заказ
</VslButton>

Default values of props

Property Type Default value
variant string "primary" | "secondary" | "tertiary" | "primary-outlined" | "secondary-outlined" | "tertiary-outlined" "primary"
size string "default" | "small" "default"
disabled boolean false

VslBreadcrumbs


VslCheckbox

<VslCheckbox
  label="Label"
  @change="handleCheckboxChange"
/>

Default values of props

Property Type Default value
label string ''

VslDropdown


VslMarquee

<VslMarquee :text="marqueeText" />
<VslMarquee>
  <pre><span>{{ marqueeText }}</span></pre>
</VslMarquee>

Default values of props

Property Type Default value
text string ''
duration number 10
delay number 0
repeat number | string "infinite"
paused boolean false
reverse boolean false

VslProgressCircular


VslQuote


VslRating


/@yaroslav_ant/vuesual-library/

    Package Sidebar

    Install

    npm i @yaroslav_ant/vuesual-library

    Weekly Downloads

    2

    Version

    0.1.12

    License

    none

    Unpacked Size

    208 kB

    Total Files

    55

    Last publish

    Collaborators

    • yaroslav_ant