ctify

Menus

Menus display a list of choices on a temporary surface

Props

NameTypeDescriptionDefault
labelstringThe text to show on the menu button.null
variantfilled outlinedThe variant of the menu button.filled
disabledbooleanWhether the menu button is disabled.false
transitionObjectItem hover trantisition is framer motion transitionnull

Child

NameDescription
MenuItemMenu item

Child properties

NameTypeDescriptionDefault
labelstringThe text to show on the menu item.null
disabledbooleanWhether the menu item is disabled.false
typebutton submit resetWhether clicking on the menu item will act like a button or a form submission.button
descriptionstringThe text to be shown below the label.null
leadingReact.ReactNodeThe component to be shown on the left of the label/description.null
trailingReact.ReactNodeThe component to be shown on the right of the label/description.null
Edit this page on GitHub