Skip to main content

LabelAnimationProps

Extends VariantProps of labelVariants

Extends

Properties

className?

optional className: string

CSS classes to apply to the label element


errorStyle?

optional errorStyle: boolean

Indicates if the associated input field has an error state


label?

optional label: string

Text content to display in the label


shouldAnimate?

optional shouldAnimate: boolean

Controls whether the label should animate to its floating position


skipAnimationOnce?

optional skipAnimationOnce: boolean

Skips the first animation when set to true