Svelte Command Palette screenshot

Svelte Command Palette

Author Avatar Theme by Rohitpotato
Updated: 23 Feb 2023
187 Stars

Dead simple command palette for svelte

Categories

Overview:

The Svelte Command Palette is a tool that aims to increase productivity by providing a simple and efficient way to run actions. With a minified size of only 2.1Kb and the ability to be gzipped and minified to around 700B, it offers a lightweight solution. The command palette features fuzzy search powered by fuse.js, advanced conditional actions, and a super simple API for defining actions. It also provides access to the paletteStore for making updates, supports keyboard shortcuts, and more.

Features:

  • Fuzzy search powered by fuse.js: Quickly find actions with the fuzzy search functionality powered by fuse.js.

  • Run actions conditionally: Define actions to only run based on the current state of the command palette.

  • Super simple API: Just define your actions and the command palette takes care of the rest.

  • Advanced conditional actions: Make decisions on whether to run an action based on the current state of the command palette.

  • Access to paletteStore: Update the palette store from anywhere to make updates to the command palette.

  • Keyboard shortcuts: Define keyboard shortcuts for your actions to boost productivity.

Installation:

To install the Svelte Command Palette, use npm:

npm install svelte-command-palette

Summary:

The Svelte Command Palette is a lightweight tool that enhances productivity by providing a feature-rich command palette. Its fuzzy search, conditional actions, and simple API make it easy to use and customize. With keyboard shortcuts and access to the palette store, it offers a comprehensive solution for running actions efficiently.