macOS modifier symbols laid out side by side with their names printed below.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Keyboard8 } from "@/components/beste/piece/keyboard8";
<Keyboard8
heading="Modifier keys"
modifiers={[
{
"symbol": "⌘",
"name": "Command"
},
{
"symbol": "⌥",
"name": "Option"
},
{
"symbol": "⇧",
"name": "Shift"
},
{
"symbol": "⌃",
"name": "Control"
}
]}
/>