Label

Label is a text element used to identify and describe input fields or other UI controls. It renders an accessible <label> element that provides a clear, semantic caption linked to a corresponding form control.

  • Text selection is prevented when double clicking label

  • Supports nested controls

Installation

Loading...

Usage

<Label />

Examples

Size

Orientation

API Reference

PropTypeDefault
size
enum
"default"
orientation
enum
"vertical"

Support all Radix API