YuhuanStudioYunUIDocs
Forms & Inputs

Label

Styled form label; pairs with a control via htmlFor.

A styled form label. It renders a native <label> with the design-system typography, so htmlFor pairs it with any control for click-to-focus and screen-reader association. Every native <label> attribute spreads through.

Import

import { Label } from "@yuhuanowo/yunui";

With a field

Label + Input

Label carries no required props of its own — it forwards every native <label> attribute. Use htmlFor to point at the control's id.

On this page