ListMenu
API reference and demos for ListMenu.
Import
Section titled “Import”import { ListMenu } from "@flanksource/clicky-ui/components";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
selection |
ListMenuSelection |
— | Enables multi-select. Pass the object returned by `useListMenuSelection`; rows that set `itemKey` then become selectable via checkbox or Shift+Click. |
showCheckboxes |
boolean |
true |
Render a leading checkbox on selectable rows (default true when `selection` is set). |
virtualize |
boolean | ListMenuVirtualOptions |
false |
Window ListMenuItems inside this menu's bounded scroll viewport. |