Skip to content
h v3.13.3
Search the docs
Find a component, section or page.

Combobox

A searchable list of choices: a Popover holding a Command. Type to filter, Enter to pick.

Installation

pnpm add @heyramzi/ui bits-ui

Usage

import * as Command from "@heyramzi/ui/shadcn/command";

API reference

Popover

portalProps WithoutChildrenOrChild<ComponentProps<typeof PopoverPortal>>
ref bindable HTMLElement | null
Default null
class string
sideOffset number
Default 4
align string
Default "center"
collisionPadding number
Default 8
...rest
Every prop of Popover.Content from bits-ui
Prop Type Default
portalProps WithoutChildrenOrChild<ComponentProps<typeof PopoverPortal>>
ref bindable HTMLElement | null null
class string
sideOffset number 4
align string "center"
collisionPadding number 8
...rest Every prop of Popover.Content from bits-ui

Command

api bindable CommandRootApi | null
Default null
ref bindable HTMLElement | null
Default null
value bindable string
Default ""
class string
...rest
Every prop of Command.Root from bits-ui
Prop Type Default
api bindable CommandRootApi | null null
ref bindable HTMLElement | null null
value bindable string ""
class string
...rest Every prop of Command.Root from bits-ui