Docs
Input
Input
Displays a form input field or a component that looks like an input field.
Helper text
Usage
vue
<script setup lang="ts">
import { Input } from "wedges-vue";
</script>
<template>
<Input />
</template>
API Reference
Props
Prop | Type | Default |
---|---|---|
ariaInvalid | boolean | false |
as | AsTag | Component | 'div' |
asChild | boolean | false |
description | string | |
destructive | boolean | false |
disabled | boolean | false |
for | string | |
helperText | string | |
id | string | |
label | string | |
modelValue | any | |
required | boolean | false |
tooltip | string |
Emit | Description |
---|---|
update:modelValue |