shadcn/vue
DocsComponentsBlocksThemes

Getting Started

Introduction Installation components.json Theming Dark Mode CLI Typography Figma Changelog About Contribution

Installation

Vite Nuxt Astro Laravel

Extended

Auto Form Charts

Components

Sidebar NewAccordion Alert Alert Dialog Aspect Ratio Avatar Badge Breadcrumb Button Calendar Card Carousel Checkbox Collapsible Combobox Command Context Menu Data Table Date Picker Dialog Drawer Dropdown Menu Form Hover Card Input Label Menubar Navigation Menu Number Field Pagination PIN Input Popover Progress Radio Group Range Calendar Resizable Scroll Area Select Separator Sheet Skeleton Slider Sonner Stepper Switch Table Tabs Tags Input Textarea Toast Toggle Toggle Group Tooltip

On This Page

  1. docs
  2. components
  3. label

Label

Renders an accessible label associated with controls.

Component Source API Reference

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

On This Page

Built by shadcn. Ported to Vue by unovue . The code source is available on GitHub.