---
title: Label
description: Renders an accessible label associated with controls.
base: base
component: true
links:
doc: https://base-ui.com/react/components/label
api: https://base-ui.com/react/components/label#api-reference
---
For form fields, use the [Field](/docs/components/base/field) component which
includes built-in label, description, and error handling.
## Installation
CommandManual
```bash
npx shadcn@latest add label
```
Install the following dependencies:
```bash
npm install @base-ui/react
```
Copy and paste the following code into your project.Update the import paths to match your project setup.
## Usage
```tsx
import { Label } from "@/components/ui/label"
```
```tsx
```
## Label in Field
For form fields, use the [Field](/docs/components/base/field) component which
includes built-in `FieldLabel`, `FieldDescription`, and `FieldError` components.
```tsx
Your email address
```
## RTL
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
## API Reference
See the [Base UI Label](https://base-ui.com/react/components/label#api-reference) documentation for more information.