The Label component renders an accessible label associated with controls. This components is built on Radix UI primitives and styled with Shadcn UI.

Properties

$$typeof: symbol
defaultProps?: Partial<Omit<LabelProps & RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<((props?: ClassProp) => string)> & RefAttributes<HTMLLabelElement>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: WeakValidationMap<Omit<LabelProps & RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<((props?: ClassProp) => string)> & RefAttributes<HTMLLabelElement>>