input
Input with label
Input with label
Загрузка превью…
src/input/c-input-2.vue
<script setup lang="ts">
import { Field, FieldLabel } from "@/components/ui/field"
import { Input } from "@/components/ui/input"
</script>
<template>
<Field class="w-full max-w-xs">
<FieldLabel for="input-demo-email">Email</FieldLabel>
<Input id="input-demo-email" type="email" placeholder="name@example.com" />
</Field>
</template>