{"repo":"timc1/kbar","free":true,"listed":false,"github":"https://github.com/timc1/kbar","clone":"git clone https://github.com/timc1/kbar.git","description":"fast, portable, and extensible cmd+k interface for your site","language":"TypeScript","stars":5242,"topics":["react","javascript","typescript","hooks","shortcuts","command-palette"],"license":"MIT","category":"ui-components","readme_excerpt":"kbar kbar is a simple plug-n-play React component to add a fast, portable, and extensible command + k (command palette) interface to your site. Background Command + k interfaces are used to create a web experience where any type of action users would be able to do via clicking can be done through a command menu. With macOS's Spotlight and Linear's command + k experience in mind, kbar aims to be a simple abstraction to add a fast and extensible command + k menu to your site. Features - Built in animations and fully customizable components - Keyboard navigation support; e.g. control + n or control + p for the navigation wizards - Keyboard shortcuts support for registering keystrokes to specific actions; e.g. hit t for Twitter, hit ? to immediate bring up documentation search - Nested actions enable creation of rich navigation experiences; e.g. hit backspace to navigate to the previous action - Performance as a first class priority; tens of thousands of actions? No problem. - History management; easily add undo and redo to each action - Built in screen reader support - A simple data structure which enables anyone to easily build their own custom components Usage Have a fully functioning command menu for your site in minutes. First, install kbar. There is a single provider which you will wrap your app around; you do not have to wrap your entire app; however, there are no performance implications by doing so. Let's add a few default actions. Actions are the core of kbar – an actio","default_branch":null,"files":null,"tree":[],"storefront":"/r/timc1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/timc1/kbar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}