A field that records a keyboard shortcut by pressing it — swallows every key while recording, waits past the modifiers for a real key, and separates browser-reserved combos (refused) from ones that would override an existing binding (recorded, with a warning).
npx shadcn@latest add @zyeon/shortcut-recorderZyeon UI limits how often it can be asked, and Shortcut Recorder hasn't had its turn. Its source will show here once it has.