Hotkey

Hotkey includes hooks to handle keyboard shortcuts in your app, as well as a component to render them visually.

Lusat uses it to handle hotkeys, hooking into Action routers and your application rendering logic.

Examples

Press K to see hotkeys in action.

Supports a variety of chords:

GAEscKS
import { useHotkey } from 'lusat/ui/react'

// ...

useHotkey('cmd+k', myAction)

Join our newsletter to stay up to date on our progress!