Optionalaria-Identifies the element (or elements) that describes the object.
Optionalaria-Identifies the element (or elements) that provide a detailed, extended description for the object.
Optionalaria-Defines a string value that labels the current element.
Optionalaria-Identifies the element (or elements) that labels the current element.
OptionalautoWhether to auto focus the gridlist or an option.
OptionalchildrenOptionalclassOptionaldefaultThe initial selected keys in the collection (uncontrolled).
OptionaldependenciesValues that should invalidate the item cache when using dynamic collections.
OptionaldirOptionaldisabledWhether disabledKeys applies to all interactions, or only selection.
OptionaldisabledThe item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with.
OptionaldisallowWhether the collection allows empty selection.
OptionaldisallowWhether typeahead navigation is disabled.
OptionaldragThe drag and drop hooks returned by useDragAndDrop used to enable drag and drop behavior for the GridList.
OptionalescapeWhether pressing the escape key should clear selection in the grid list or not.
Most experiences should not modify this option as it eliminates a keyboard user's ability to easily clear selection. Only use if the escape key is being handled externally or should not trigger selection clearing contextually.
OptionalhiddenOptionalidThe element's unique identifier. See MDN.
OptionalinertOptionalitemsOptionalkeyboardWhether keyboard navigation to focusable elements within grid list items is via the left/right arrow keys or the tab key.
OptionallangOptionallayoutWhether the items are arranged in a stack or grid.
OptionalonHandler that is called when a user performs an action on an item. The exact user event depends on
the collection's selectionBehavior prop and the interaction modality.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the selection changes.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalrenderOverrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components.
Requirements:
<button> is expected, you cannot render an <a>).OptionalrenderOptionalselectedThe currently selected keys in the collection (controlled).
OptionalselectionHow multiple selection should behave in the collection.
OptionalselectionThe type of selection that is allowed in the collection.
OptionalshouldWhether selection should occur on press up instead of press down.
OptionalslotA slot name for the component. Slots allow the component to receive props from a parent component.
An explicit null value indicates that the local props completely override all props received from a parent.
OptionalstyleThe inline style for the element. A function may be provided to compute the style based on component state.
Optionaltranslate
Props for the List component.