🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

A Material Design inspired, mobile and user-friendly floating label for text fields.

Form

Documentation

Install

npm install magic-vue-input -s

Quick Start

import MagicVueInput from 'magic-vue-input'

Preview

preivew

How to use

<MagicVueInput v-model='msg' placeholder='Name' type='password' textColor='red' placeholderColor='orange' lineColor='black' closeBtnColor='blue'></MagicVueInput>

Props

Name Value Des
v-model Any The value of your input
placeholder String,Number The placeholder when your input value is none
type String: 'text' or 'passwrod' Only support text & password
maxlength Number Longest number of your input text
textColor String: hash string color Color of input text
lineColor String: hash string color Color of bottom line
closeBtnColor String: hash string color Color of the colse button
placeholderColor String: hash string color Color of placeholder
fontSize Number Font size of text
textOffsetBot Number Vertical offset of text

You May Also Like