vb-input
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

vb-input

Version

Vue 3 input component.

Support Vue3 and Nuxt3 and type-safe. Demo

Documentation

Check out docs at docs.

Types

  • text
  • number
  • password
  • tel
  • email
  • search
  • textarea

Installation

npm i vb-input

Import to component

<template>
  <VBInput :type="'text'" placeholder="name" label="Your Name" v-model="name" />
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue';
import VBInput from 'vb-input';
export default defineComponent({
  components: {
    VBInput,
  },
  setup() {
    const name = ref('');

    return { name };
  },
});
</script>

Package Sidebar

Install

npm i vb-input

Weekly Downloads

0

Version

1.0.2

License

none

Unpacked Size

46.8 kB

Total Files

8

Last publish

Collaborators

  • ehsan_shv