Properties

Link copied to clipboard
abstract override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract var classes: FormLabelClasses?

Override or extend the styles applied to the component.

Link copied to clipboard
abstract var color: FormLabelColor?

The color of the component. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.

Link copied to clipboard
abstract var disabled: Boolean?

If true, the label should be displayed in a disabled state.

Link copied to clipboard
abstract var error: Boolean?

If true, the label is displayed in an error state.

Link copied to clipboard
abstract var filled: Boolean?

If true, the label should use filled classes key.

Link copied to clipboard
abstract var focused: Boolean?

If true, the input of this label is focused (used by FormGroup components).

Link copied to clipboard
abstract var key: Key?
Link copied to clipboard
abstract var required: Boolean?

If true, the label will indicate that the input is required.

Link copied to clipboard
abstract override var sx: SxProps<Theme>?

The system prop that allows defining system overrides as well as additional CSS styles.

Functions

Link copied to clipboard
open inline fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator fun <P : Props> ElementType<P>.invoke()
open inline operator fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator fun Char.unaryPlus()
open inline operator fun String?.unaryPlus()
open inline operator fun ReactNode?.unaryPlus()
open inline operator fun Props?.unaryPlus()