Label

A label element for form inputs with accessibility support.

Import

Usage

Label Props

AttributeTypeDefaultDescription
htmlForstring-The id of the input element this label is for.
childrenReact.ReactNode-The label text or content.
classNamestring-Additional CSS classes for styling.