Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cmd-dialog

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmd-dialog

Command dialog palette

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-94.44%
Maintainers
1
Weekly downloads
 
Created
Source

Command <dialog>

Command dialog and keyboard shortcuts for any web application.

Features

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

Install

npm i cmd-dialog

Usage

Attributes

  • theme - Theme of the dialog. Possible values: light or dark. Default value is taken from browser preference.
  • hotkeys - List of hotkeys. Default value: ctrl+k,cmd+k.
  • placeholder - Placeholder text for the search input. Default value: Type a command or search....
  • note - The note in the footer of the dialog box. Default value show number of options.

Credits

  • LitElement - A simple base class for creating fast, lightweight web components.
  • Fuse.js - Lightweight fuzzy-search library.
  • hotkeys.js - A robust Javascript library for capturing keyboard input.
  • Ninja Keys - Keyboard shortcuts for any web application.

FAQs

Package last updated on 24 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc