Home / Function/ ComboboxInPopup() — ui Function Reference

ComboboxInPopup() — ui Function Reference

Architecture documentation for the ComboboxInPopup() function in combobox-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  8556c3d3_bfe5_cbbd_3946_23b76018a98c["ComboboxInPopup()"]
  3abbb5d0_a426_2d0f_1c5d_dd3e5ea603b4["combobox-example.tsx"]
  8556c3d3_bfe5_cbbd_3946_23b76018a98c -->|defined in| 3abbb5d0_a426_2d0f_1c5d_dd3e5ea603b4
  style 8556c3d3_bfe5_cbbd_3946_23b76018a98c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/combobox-example.tsx lines 867–895

function ComboboxInPopup() {
  return (
    <Example title="Combobox in Popup">
      <Combobox items={countries} defaultValue={countries[0]}>
        <ComboboxTrigger
          render={
            <Button
              variant="outline"
              className="w-64 justify-between font-normal"
            />
          }
        >
          <ComboboxValue />
        </ComboboxTrigger>
        <ComboboxContent>
          <ComboboxInput showTrigger={false} placeholder="Search" />
          <ComboboxEmpty>No items found.</ComboboxEmpty>
          <ComboboxList>
            {(item) => (
              <ComboboxItem key={item.code} value={item}>
                {item.label}
              </ComboboxItem>
            )}
          </ComboboxList>
        </ComboboxContent>
      </Combobox>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does ComboboxInPopup() do?
ComboboxInPopup() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/combobox-example.tsx.
Where is ComboboxInPopup() defined?
ComboboxInPopup() is defined in apps/v4/registry/bases/radix/examples/combobox-example.tsx at line 867.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free