Socket
Book a DemoInstallSign in
Socket

vue3-stepper

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-stepper

A Stepper Component for Vue3

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
18
5.88%
Maintainers
1
Weekly downloads
 
Created
Source

vue3-stepper

A Stepper Component for Vue3

How to use

install

npm i ue3-stepper --save

import to your project

<template>
    <Stepper 
    v-model="num"
    :steps="steps"
    :max="3"
    />
</template>
<script setup>
    import Stepper from 'vue3-stepper/Stepper.vue'
    const num = ref(0)
    const steps = reactive([{text:'1',label:'One'},{text:'2',label:'Two'}])
</script>

props

keyNametyperequireddefault valuedescription
steps<{text,label}>Arraytruethe data to gen every step
activeColorstringfalse#AD0CD3color for current step item
inActiveColorstringfalse#F6F6F6color for other step item
progressPaddingstringfalse70pxthe distance one the side
maxnumberfalsemaxium step count
vaildatorfunctionfalsereturn true will allow next

How develop

Project setup

yarn install

Compiles and hot-reloads for development

yarn dev

Compiles and minifies for production

yarn build

Customize configuration

See Configuration Reference.

Keywords

vue3

FAQs

Package last updated on 20 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.