Shadcn ui drop down menu
Does anyone know what the key ⌘ is? I assume it's cmd on Mac. What is it on linux and windows? I use Linux.
12 Replies
its just a icon
Per my understanding, I thought it was the case where if I hit cmb + B, it will execute the action that gets triggered if Billing was clicked on
Is my understanding incorrect?
its just the "windows key" on non mac stuff
but in the example code is just an icon
I see
So we have to do it ourselves if we want the shortcut functionality
The windows key
yep
or you can just not show the icon
Is that possible with Radix?
Why wouldn’t it be
its just react
just listen to the keyboard
Just pass a ref to the button and call the click on the event of key press
Thanks guys