cmd-dialog
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

/cmd-dialog/

    Package Sidebar

    Install

    npm i cmd-dialog

    Weekly Downloads

    19

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    76.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • ozzyczech