Documentation
Components
Label

Label

type LabelProps = ComponentProps<typeof Label>;
A list of the props available
PropTypeDefault ValueDescription
classNamestringundefinedThe CSS class name for styling the button.
htmlForstringundefinedThe ID of the input element this label is associated with.
requiredbooleanfalseIf true, the input element this label is associated with is required.
childrenReactNodeundefinedThe content to be displayed inside the label component.