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
Neto
Neto2y ago
its just a icon
Neto
Neto2y ago
Lucide
Lucide Icons
Beautiful & consistent icon toolkit made by the community.
shikishikichangchang
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?
Neto
Neto2y ago
its just the "windows key" on non mac stuff but in the example code is just an icon
shikishikichangchang
I see So we have to do it ourselves if we want the shortcut functionality
barry
barry2y ago
The windows key
Neto
Neto2y ago
yep or you can just not show the icon
shikishikichangchang
Is that possible with Radix?
barry
barry2y ago
Why wouldn’t it be
Neto
Neto2y ago
its just react just listen to the keyboard
barry
barry2y ago
Just pass a ref to the button and call the click on the event of key press
shikishikichangchang
Thanks guys
Want results from more Discord servers?
Add your server