shadcn-vue/apps/www/registry/new-york/example/InputWithLabel.vue
2024-11-21 11:52:31 +08:00

12 lines
335 B
Vue

<script setup lang="ts">
import { Input } from '@/lib/registry/new-york/ui/input'
import { Label } from '@/lib/registry/new-york/ui/label'
</script>
<template>
<div class="grid w-full max-w-sm items-center gap-1.5">
<Label for="email">Email</Label>
<Input id="email" type="email" placeholder="Email" />
</div>
</template>