Input
NbInput is a native text input wrapped in the kit’s field styling. Type below to see v-model update immediately.
Preview
Section titled “Preview”<script setup lang="ts">
import { ref } from 'vue'
import { NbInput } from '@neobrut-vue/core'
const name = ref('')
</script>
<template>
<div class="demo-stack">
<NbInput v-model="name" label="Your name" placeholder="Type something" hint="This updates as you type." />
<p aria-live="polite">{{ name ? `Hello, ${name}!` : 'Your name appears here.' }}</p>
</div>
</template>
<style scoped>
.demo-stack { display: grid; gap: 1rem; max-width: 26rem; }
.demo-stack p { margin: 0; font-weight: 700; }
</style><NbInput v-model="name" label="Name" placeholder="Ada Lovelace" />Pass hint for supporting text or error for validation feedback. Native attributes such as required, name, autocomplete, and disabled are forwarded to the input.