Combobox
A Popover with a Command inside. It is not a separate component: installing it installs popover and command.
Installation
Shadwire follows shadcn/ui's open code model: the component's source is copied into your application and becomes yours. Install it with the CLI:
The combobox registry item installs these files:
-
app/components/ui_component.rb -
vendor/shadwire/shadwire.css
Haven't installed the CLI yet? gem install shadwire, then shadwire init.
Usage
Examples
Default
A popover trigger holding a searchable command list.
No framework found.
Rails
Hotwire
ViewComponent