cmdk icon indicating copy to clipboard operation
cmdk copied to clipboard

Support Grid View

Open peduarte opened this issue 2 years ago • 5 comments

Would love to use this library while rendering items in a Grid and being able to use left/right/up/down keyboard arrow to navigate across Grid Items. I appreciate the Grid view is not the most common presentation for Command K, but I see now reason why it shouldn't be! Having this as an option could open up lots of cool and more rich UIs.

Raycast for example is a very similar UI and supports Grid: CleanShot 2022-10-29 at 09 06 53@2x

peduarte avatar Oct 29 '22 07:10 peduarte

Complexity here would be that the left and right arrows are used to navigate the text in the input, and you'd probably want a modal situation where you apply whatever the input is and then get into this view.

Kilian avatar Nov 01 '22 09:11 Kilian

any way this can be achieved?

kusaljr avatar Nov 21 '23 07:11 kusaljr

I tried to add button or image inside command item also it will cause rendering issue, any way to achieve that?

AimanHakeem avatar Jan 21 '24 16:01 AimanHakeem

This would be great. Tracking in #210.

pacocoursey avatar Jan 30 '24 06:01 pacocoursey

+1 hopefully this gets merged in soon.

momongah avatar May 08 '24 02:05 momongah