All Projects → Seokky → vue-pincode-input

Seokky / vue-pincode-input

Licence: MIT license
Great pincode input component

Programming Languages

Vue
7211 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to vue-pincode-input

angular-code-input
Code (number/chars/otp/password) input component for angular 7, 8, 9, 10, 11, 12+ projects including Ionic 4, 5 +
Stars: ✭ 112 (-12.5%)
Mutual labels:  input, pincode
afl-pin
run AFL with pintool
Stars: ✭ 64 (-50%)
Mutual labels:  pin
FilterInputJs
Tiny and Powerful Library for limit an entry (text box,input) as number,string or more...
Stars: ✭ 37 (-71.09%)
Mutual labels:  input
react-native-awesome-pin
A highly interactive and customisable PIN code screen for React Native.
Stars: ✭ 28 (-78.12%)
Mutual labels:  pin
secrets
Simple Secret Sharing Service for social and decentralised management of passwords
Stars: ✭ 30 (-76.56%)
Mutual labels:  pin
Adsorbent
Adsorbent of RecyclerView , RecyclerView吸顶
Stars: ✭ 25 (-80.47%)
Mutual labels:  pin
PHP-FileUpload
Simple and convenient file uploads — secure by default
Stars: ✭ 53 (-58.59%)
Mutual labels:  input
MaiSense
Touch Sensor Emulation for SDEY - 💦 Touchlaundry Disco
Stars: ✭ 110 (-14.06%)
Mutual labels:  input
kapp
A pure Rust window and input library for Windows, Mac, and Web. (Work in progress)
Stars: ✭ 58 (-54.69%)
Mutual labels:  input
muxnect
Send input to just about any interactive command-line tool through a local web server
Stars: ✭ 23 (-82.03%)
Mutual labels:  input
clrprint
Print colorful output in the terminal, idle, cmd, and Windows PowerShell using the same functions.
Stars: ✭ 22 (-82.81%)
Mutual labels:  input
DPOTPView
Customisable OTP view and Passcode view
Stars: ✭ 52 (-59.37%)
Mutual labels:  pin
tag-picker
Better tags input interaction with JavaScript.
Stars: ✭ 27 (-78.91%)
Mutual labels:  input
rime-nushu
Nushu input method | 𛆁𛈬𛈬𛇈𛊡 | 女书输入法
Stars: ✭ 28 (-78.12%)
Mutual labels:  input
peekaboo
An standalone execution trace library built on DynamoRIO.
Stars: ✭ 17 (-86.72%)
Mutual labels:  pin
graylog-plugin-netflow
[DEPRECATED] Graylog NetFlow plugin
Stars: ✭ 35 (-72.66%)
Mutual labels:  input
react-ratings-declarative
A customizable rating component for selecting x widgets or visualizing x widgets
Stars: ✭ 41 (-67.97%)
Mutual labels:  input
ra-input-markdown
A markdown editor for react-admin
Stars: ✭ 22 (-82.81%)
Mutual labels:  input
bootstrap5-tags
Replace select[multiple] with nices badges for Bootstrap 5
Stars: ✭ 58 (-54.69%)
Mutual labels:  input
numberbox-card
Replace input_number sliders with plus and minus buttons
Stars: ✭ 61 (-52.34%)
Mutual labels:  input

vue-pincode-input

Great pincode input component for Vue.js applications.

vue-pincode-input

Demo on GitHub Pages

Features

  • configurable length (symbols count)
  • override-friendly styles
  • auto moving focus when filling
  • auto moving focus when deleting
  • auto selecting cell content on focusing
  • call for native numeric keyboard on mobiles
  • optional secure mode (password input type)
  • character preview on typing (configurable duration)

Attention!

Styles that component have are written just for demo. But that styles are override-friendly, so you can write any styles you want.

Usage

  npm i --save vue-pincode-input

or with yarn

  yarn add vue-pincode-input

Then in any component:

import PincodeInput from 'vue-pincode-input';
// The name can be different depending on your desire
<div class="input-wrapper">
  <PincodeInput
    v-model="code"
    placeholder="0"
  />
</div>

Attention: you should use 'input.vue-pincode-input' instead '.vue-pincode-input' in order to rule specificity was higher

<style>
div.vue-pincode-input-wrapper {
  // any styles you want for wrapper
}

input.vue-pincode-input {
  // any styles you want for each cell
}
<style>

Props

  • length (symbols count)

    • type: Number
    • default: 4
  • autofocus (auto focus first cell)

    • type: Boolean
    • default: true
  • secure (password input type)

    • type: Boolean
    • default: false
  • characterPreview (preview character on typing)

    • type: Boolean
    • default: true
  • previewDuration (duration of character preview)

    • type: Number
    • default: 300

ToDo

  • configure husky
  • write unit tests for v0.2.0 (characterPreview and previewDuration props)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].