Skip to content

Label

Provides an accessible text caption for form controls that focuses the corresponding input when clicked.

607 B
•
Updated on August 21, 2026

Installation

Bash

Usage

Code
Code

API Reference

This is a custom component using Base UI's useRender hook, not a direct Base UI wrapper.

Label

A label component that can be rendered as different elements.

Examples

For accessible labelling and validation, prefer using the FieldLabel component. See some related examples.

With Checkbox