LabelAnimationProps
Extends VariantProps of labelVariants
Extends
VariantProps<typeoflabelVariants>
Properties
className?
optionalclassName:string
CSS classes to apply to the label element
errorStyle?
optionalerrorStyle:boolean
Indicates if the associated input field has an error state
label?
optionallabel:string
Text content to display in the label
shouldAnimate?
optionalshouldAnimate:boolean
Controls whether the label should animate to its floating position
skipAnimationOnce?
optionalskipAnimationOnce:boolean
Skips the first animation when set to true