Home / Function/ ComboboxWithOtherInputs() — ui Function Reference

ComboboxWithOtherInputs() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/combobox-example.tsx lines 1191–1249

function ComboboxWithOtherInputs() {
  return (
    <Example title="With Other Inputs">
      <Combobox items={frameworks}>
        <ComboboxInput placeholder="Select a framework" className="w-52" />
        <ComboboxContent>
          <ComboboxEmpty>No items found.</ComboboxEmpty>
          <ComboboxList>
            {(item) => (
              <ComboboxItem key={item} value={item}>
                {item}
              </ComboboxItem>
            )}
          </ComboboxList>
        </ComboboxContent>
      </Combobox>
      <Select>
        <SelectTrigger className="w-52">
          <SelectValue placeholder="Select a framework" />
        </SelectTrigger>
        <SelectContent>
          <SelectGroup>
            {frameworks.map((framework) => (
              <SelectItem key={framework} value={framework}>
                {framework}
              </SelectItem>
            ))}
          </SelectGroup>
        </SelectContent>
      </Select>
      <Button
        variant="outline"
        className="text-muted-foreground w-52 justify-between font-normal"
      >
        Select a framework
        <IconPlaceholder
          lucide="ChevronDownIcon"
          tabler="IconSelector"
          hugeicons="UnfoldMoreIcon"
          phosphor="CaretDownIcon"
          remixicon="RiArrowDownSLine"
        />
      </Button>
      <Input placeholder="Select a framework" className="w-52" />
      <InputGroup className="w-52">
        <InputGroupInput placeholder="Select a framework" />
        <InputGroupAddon align="inline-end">
          <IconPlaceholder
            lucide="ChevronDownIcon"
            tabler="IconSelector"
            hugeicons="UnfoldMoreIcon"
            phosphor="CaretDownIcon"
            remixicon="RiArrowDownSLine"
          />
        </InputGroupAddon>
      </InputGroup>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free