Skip to content
K

kbar

fast, portable, and extensible cmd+k interface for your site

by timc1Open source

#418in UI Libraries
0In stores

Description

kbar is a React component library that adds a command palette, the cmd+k (or ctrl+k) search menu, to a website or web app. Developers wrap t…

Highlights

  • Cmd+k command palette for React apps
  • Keyboard shortcuts and nested actions
  • Undo and redo through action history
  • Virtualized results list for large action sets
  • Screen reader support and custom components

Ratings & Reviews

No ratings yet

Be the first to rate kbar.

People also visit

R

react-command-palette

WAI-ARIA compliant React command palette like the one in Atom

UI Libraries
Launch
C

cmdk

Fast, composable, unstyled command menu for React

UI Libraries
Launch
R

react-hotkeys

A declarative library for handling hotkeys and focus within a React application

UI Libraries
Launch
D

data-command

Component for building dynamic command palettes with API-powered data

UI Libraries
Launch
R

react-aria-menubutton

A fully accessible and flexible React-powered menu button

UI Libraries
Launch
C

@cloudflare/kumo

Kumo - Cloudflare's component library for building modern web applications

UI Libraries
Launch

kbar FAQ

What is kbar?

A React library that adds a cmd+k style command palette to a website, so users can search and run actions from the keyboard.

How do I add it to my site?

Install the kbar package, wrap your app in its provider, define your actions, then render the provided search and results components.

Is it free?

Yes. The source code is public on GitHub.

Can I change how it looks?

Yes. The README says the animations and components are fully customizable, and you can build your own components on its data structure.

Does it work with many commands?

The README says performance is a first-class priority and tens of thousands of actions are fine, because results are rendered as a virtualized list.

Does it support keyboard shortcuts?

Yes. Actions can be registered to keystrokes, and results can be navigated with control+n and control+p.

What are the best kbar alternatives?

Popular alternatives to kbar include react-command-palette, cmdk and react-hotkeys. See all kbar alternatives

Developer Stuff

Badges