Label

Renders an accessible label associated with controls.

Installation

bash
npx shadcn-vue@latest add label

Usage

vue
<script setup lang="ts">
import { Label } from '@/components/ui/label'
</script>

<template>
  <Label for="email">Your email address</Label>
</template>
Edit this page on GitHub