Skip to main content

SelectTriggerProps

Props for SelectTrigger

Extends VariantProps of selectVariants

Extends

Properties

className?

optional className: string

CSS classes to apply to the label element

Inherited from

LabelAnimationProps.className


errorStyle?

optional errorStyle: boolean

Indicates if the associated input field has an error state

Inherited from

LabelAnimationProps.errorStyle


iconClassName?

optional iconClassName: string

Additional class name for the icon


label?

optional label: string

Text content to display in the label

Inherited from

LabelAnimationProps.label


noUnderline?

optional noUnderline: boolean

If true, removes the underline from the select trigger


shouldAnimate?

optional shouldAnimate: boolean

Controls whether the label should animate to its floating position

Inherited from

LabelAnimationProps.shouldAnimate


skipAnimationOnce?

optional skipAnimationOnce: boolean

Skips the first animation when set to true

Inherited from

LabelAnimationProps.skipAnimationOnce