Input
Displays a form input field or a component that looks like an input field.
Installation
npx shadcn-vue@latest add https://vuedocs.canceydejean.dev/r/input.jsonUsage
Use inputs for text, email, password, search, file, and other single-line fields.
<script setup lang="ts">
import { Input } from "@/components/ui/input";
</script>
<template>
<Input type="email" placeholder="Email" />
</template>
Supports native type values, disabled, and aria-invalid for form error styling.