Skip to content

OzzyCzech/cmd-dialog

Repository files navigation

NPM Downloads NPM Version NPM License Last Commit GitHub Workflow Status

Command <dialog>

Command dialog and keyboard shortcuts palette for web apps.

Features

  • Keyboard navigation
  • Build in dark/light themes
  • Customizable action shortcuts with tinykeys
  • Native <dialog> element
  • Responsive design
  • Fuzzy search with Fuse.js

Install

npm i cmd-dialog

From CDN

<script type="module" src="https://esm.run/cmd-dialog"></script>

or inside module script

<script type="module">
	import cmdDialog from 'https://esm.run/cmd-dialog';
</script>

Dependencies

  • LitElement - A simple base class for creating fast, lightweight web components.
  • Fuse.js - Lightweight fuzzy-search library.
  • tinykeys - A robust Javascript library for capturing keyboard input.

Credits

  • Ninja Keys - Keyboard shortcuts for any web application.

License

MIT