ListBox vs GridList (vs Menu?) #7723
-
ListBox and GridList are so similar, that I'm having trouble deciding which to use sometimes. Menu is here as an honorable mention since it's at least clearly meant to be open on a button click, unlike the other 2, though why it's a separate component rather than another ListBox is unclear just the same. My general understanding is that:
However, examples for both show almost the same thing, with any mention of Inputs missing from ListBox. Both support 'stack' and 'grid' layout, single and multiple selection, drag and drop, links. The only difference I can name without comparing features one by one is no Section support in GridList, which is "on the roadmap". While I'd appreciate an answer just for me, I think having an article on that listed from the docs to all 3 would be valuable. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This probably needs to be raised to a more prominent location
|
Beta Was this translation helpful? Give feedback.
This probably needs to be raised to a more prominent location
https://react-spectrum.adobe.com/react-aria/ListBox.html#text-slots