Shortcut Tooltip

Dark tooltip that pairs a short label with inline kbd keys for the matching shortcut.

Duplicate rowD

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Tooltip2 } from "@/components/beste/piece/tooltip2";

<Tooltip2
  label="Duplicate row"
  keys={[
    "⌘",
    "D"
  ]}
/>