Skip to main content

Label

Function Label 

Source
pub fn Label(props: LabelProps) -> Element
Expand description

Renders an unstyled label associated with the resolved metadata’s control id.

This part can resolve metadata from Field Context, accept it explicitly, or run standalone. Running standalone means no control shares the metadata, so no for is emitted — the label still carries its own id, which is the reference a control would reach through aria-labelledby.