UIIcons

Label

An accessible form label that associates with inputs and other form controls.

Label

Installation

pnpm dlx stera-ui@latest add label

With Input

Label with Input

With Checkbox

Label with Checkbox

Disabled State

When a sibling input is disabled, add peer-disabled: classes to the label to reflect the disabled state visually.

Label Disabled

API Reference

Renders a <label> element. Accepts all standard <label> props.