附加组件

快捷键录制器

Keyboard shortcut recorder

录制可访问组合键并标记冲突

实时预览

提示词正文

Build a keyboard shortcut recorder with Tailwind CSS: a button that enters recording mode and captures the next real key combination, rendering it as styled key caps (⌘ + Shift + K); require at least one non-modifier key, refuse bare modifiers, and display the captured combo as text for copy. Check the combo against existing shortcuts and flag conflicts with an inline warning naming the conflicting action, offer a rebind-or-cancel choice, and announce recording state to screen readers via aria-live.

提示词保持英文原文——直接粘贴进 Claude、Cursor、v0 或任何 AI 编程工具即可使用。

怎么用

录制真实组合键并渲染为键帽样式;拒绝纯修饰键;与现有快捷键冲突时内联警告;aria-live 播报。

同类提示词 · 附加组件

© 2026 Genisource Vibe · 提示词详情