Files
heroui-vue/apps/docs/demos/description-basic.vue

20 lines
477 B
Vue

<script setup lang="ts">
import { Description, Input, Label } from "@heroui-vue/components";
</script>
<template>
<div class="flex flex-col gap-1">
<Label for="email">邮箱</Label>
<Input
id="email"
aria-describedby="email-description"
class="w-64"
placeholder="you@example.com"
type="email"
/>
<Description id="email-description">
我们不会将你的邮箱分享给任何人。
</Description>
</div>
</template>