Combobox

Hotkey Open

A combobox that opens with a global hotkey: the shortcut hint is printed right on the trigger button, and the listener skips typing inside someone else's text field.

What you can change

  • the list content through options and the field caption through label
  • the placeholder through placeholder and the filter field hint through searchPlaceholder
  • the shortcut key itself through triggerKey and its visible caption through hotkeyLabel

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/combobox-028?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

The component is self-contained: one file, no dependencies, its own --vibeui-combobox-028-* palette. Client component: a useEffect subscribes to document keydown and catches Ctrl or Cmd together with triggerKey; before it fires there is a check for whether focus is inside someone else's input, textarea or contenteditable — otherwise the shortcut would intercept typing in any third-party form on the page. A second useEffect moves focus into the filter field on opening, exactly as in the base variant with a trigger button. The shortcut hint sits in a <kbd> inside the trigger button itself — it is not hidden in a tooltip and does not require hovering. Escape closes the panel and returns focus to the button from anywhere, including the case where the panel was opened with the hotkey.

Tags

  • combobox
  • hotkey
  • shortcut
  • keyboard
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…