children CollectionChildren < T > — The contents of the collection. isOpen boolean — Sets the open state of the menu. defaultOpen boolean — Sets the default open state of the menu. onOpenChange (
( isOpen : boolean
) ) => void — Method that is called when the open state of the menu changes. shouldFlip boolean true Whether the menu should automatically flip direction when space is limited. items Iterable < T > — Item objects in the collection. disabledKeys Iterable < Key > — The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with. isLoading boolean — Whether the items are currently loading. onLoadMore ( ) => any — Handler that is called when more items should be loaded, e.g. while scrolling near the bottom. isDisabled boolean — Whether the input is disabled. isReadOnly boolean — Whether the input can be selected but not changed by the user. validationState ValidationState — Whether the input should display its "valid" or "invalid" visual styling. isRequired boolean — Whether user input is required on the input before form submission.
Often paired with the
necessityIndicator prop to add a visual indicator to the input.
label ReactNode — The content to display as the label. placeholder string — Temporary text that occupies the text input when it is empty. disallowEmptySelection boolean — Whether the collection allows empty selection. selectedKey Key — The currently selected key in the collection (controlled). defaultSelectedKey Key — The initial selected key in the collection (uncontrolled). onSelectionChange (
( key : Key
) ) => any — Handler that is called when the selection changes.