label
Label with helper description text
Label with helper description text
Загрузка превью…
src/label/c-label-10.vue
<script setup lang="ts">
import { Field, FieldDescription } from "@/components/ui/field"
import { Input } from "@/components/ui/input"
import { Label } from "@/components/ui/label"
</script>
<template>
<Field class="w-full max-w-xs">
<div class="flex flex-col gap-1">
<Label for="label-helper">API Key</Label>
<FieldDescription>
Your secret key for API authentication
</FieldDescription>
</div>
<Input
id="label-helper"
placeholder="sk_live_..."
class="font-mono"
/>
</Field>
</template>