Panel listing several actions with their key combos stacked on the right.
The import and the props worth knowing about, in one place.
import { Keyboard3 } from "@/components/beste/piece/keyboard3";
<Keyboard3
shortcuts={[
{
"label": "Open search",
"keys": [
"⌘",
"K"
]
},
{
"label": "New file",
"keys": [
"⌘",
"N"
]
},
{
"label": "Toggle sidebar",
"keys": [
"⌘",
"B"
]
},
{
"label": "Switch workspace",
"keys": [
"⌘",
"⇧",
"O"
]
}
]}
bordered={false}
/>