A command palette as one web component

<ninja-keys> gives any page a keyboard palette: nested menus, per-action hotkeys, a search you can replace, and a field query language. It works with any framework, or none.

Get started

This site’s search is the palette

Press Ctrl K anywhere. It is ninja-keys with the catsearch searcher over every page, heading and API symbol, so it takes queries as well as words:

  • every event the element fires
  • the colour properties
  • hotkeys, in the guide only
  • the element’s methods

What this fork adds

This is a maintained fork of ssleptsov/ninja-keys, moved to Lit 3, with these additions:

Start here