@nylira/vue-input

Flexible input, textarea, and select component for Vue 2.
3,927
Install
npm install @nylira/vue-input
Latest Version:3.4.0
License:MIT
Last Updated:Jul 22, 2017
Links: npm
Maintainer: nylira

vue-input

Flexible input field component for Vue 2.

Installation

npm install @nylira/vue-input

Usage

<template>
  <field v-model="email" placeholder="Enter your email"></field>
</template>

<script>
  import Field from '@nylira/vue-input'
  export default {
    components: {
      Field
    },
    data () {
      return {
        email: ''
      }
    }
  }
</script>

<style>
  .ni-field {
    width: 320px;
  }
</style>

Props

value=""
// The value of the input field, also can be used with v-model
// Options: Any valid string

placeholder=""
// The input field placeholder
// Options: Any valid string

size=""
// Chanage the size of the input field
// Options: "lg", "sm"

required
// Self-explanatory

theme="tendermint"
// Adds a custom input field theme
// Options: "tendermint"

type="text"
// Input field type (mainly used for HTML forms)
// Options: "text", "email", "tel", "num", "password", "textarea"

Related Packages

@nylira/vue-field

Flexible field, textarea, and select component for Vue.

7,710 0
vue-r-mask

Masked input directive for vue.js 2

7,495
@odyzeo/form-item

Odyzeo form item component with Vue

3,613 1
vue-cleave

Cleave component is based on cleave.js for Vue

49,580 98
atalevue

a vue module

1,819

Version History

Version Released License
3.4.0 MIT
3.3.0 MIT
3.2.1 MIT
3.2.0 MIT
3.1.2 MIT