Input
<bunt-input
type
=""label
=""placeholder
=""hint
=""icon
="":disabled
="":validation
=""v-model
="yourValue
">
</bunt-input>
--input-shape
:
--input-size
:
API
Slots
| Slot | Description |
|---|---|
| hint | If you want to render rich text in the hint, use this, otherwise, use the `hint` prop |
Props
| Property | Type | Default | Description |
|---|---|---|---|
| type | string | text | native input element type attribute |
| label | string | ||
| placeholder | string | ||
| hint | string | ||
| icon | string | MDI iconset name. | |
| disabled | boolean | false | |
| modelValue | string | powers v-model | |
| validation | object |
Events
| Event | Description |
|---|---|
| update:modelValue |
Style
| Property | Type | Default | Description |
|---|---|---|---|
| --input-shape | pill, rounded, squared | pill | |
| --input-size | normal, large, compact | normal |