114
A keyboard cheat sheet that slides up when you press ? inside your app: searchable by action or key, grouped, with sequences and Mac or Windows keys.
akakeyboard shortcuts·hotkeys·cheat sheet
Run this in any project set up for the shadcn CLI. It copies the Shortcut Sheet source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/shortcut-sheet.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { ShortcutSheet } from "@/components/shortcut-sheet";
export default function Page() {
return <ShortcutSheet />;
}A free React component in the Workspace collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Shortcut Sheet source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| groupsrequired | ShortcutGroup[] | — |
| childrenrequired | ReactNode | — |
| defaultPlatform | Platform | — |
| title | string | "Keyboard shortcuts" |
| className | string | — |