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
  effb6f85_287f_98c5_71cf_7c4e5574993c["ComboboxWithOtherInputs()"]
  08c943e1_cbb3_6c4d_0fd2_1693e54a1d0a["combobox-example.tsx"]
  effb6f85_287f_98c5_71cf_7c4e5574993c -->|defined in| 08c943e1_cbb3_6c4d_0fd2_1693e54a1d0a
  style effb6f85_287f_98c5_71cf_7c4e5574993c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/combobox-example.tsx lines 1263–1321

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 items={items}>
        <SelectTrigger className="w-52">
          <SelectValue />
        </SelectTrigger>
        <SelectContent>
          <SelectGroup>
            {items.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </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/base/examples/combobox-example.tsx.
Where is ComboboxWithOtherInputs() defined?
ComboboxWithOtherInputs() is defined in apps/v4/registry/bases/base/examples/combobox-example.tsx at line 1263.

Analyze Your Own Codebase

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

Try Supermodel Free