@vlalg-nimbus/nb-inputs
v10.1.0
Published
Input components for Vuejs 3
Downloads
1,116
Maintainers
Readme
nb-inputs
This component is only for Vue.js 3+
This lib contains input components.
Installation
npm install @vlalg-nimbus/nb-inputs [email protected]
# or
yarn add @vlalg-nimbus/nb-inputs [email protected]vue-the-mask 0.11.1 is a peer dependency (used by NbInput when input-mask is set; pin avoids unexpected upgrades of an unmaintained package). @vlalg-nimbus/magic-debounce is a normal dependency of this package (installs with nb-inputs; not inlined in the library build, same pattern as nb-calendar).
Usage
// main.js
import { createApp } from 'vue'
import App from './App.vue'
import NbInputsComponents from '@vlalg-nimbus/nb-inputs'
import "@vlalg-nimbus/nb-inputs/dist/style.css";
// Import the Calendar component from the npm package to use in the nb-date-picker component
import { Calendar } from '@vlalg-nimbus/nb-calendar';
import "@vlalg-nimbus/nb-calendar/dist/style.css"
const app = createApp(App)
app.use(NbInputsComponents)
app.component('Calendar', Calendar); // Register the Calendar component globally
app.mount('#app')Components list
The components that are part of this lib are:
- nb-input-radio
- nb-input-checkbox
- nb-input
- nb-input-chip
- nb-textarea
- nb-date-picker
- nb-input-file
- nb-input-search
Click on each one above to find out how to use it, properties, events, etc.
