Home / Function/ ComboboxMultiple() — ui Function Reference

ComboboxMultiple() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/combobox-example.tsx lines 897–933

function ComboboxMultiple() {
  const anchor = useComboboxAnchor()

  return (
    <Example title="Combobox Multiple">
      <Combobox
        multiple
        autoHighlight
        items={frameworks}
        defaultValue={[frameworks[0]]}
      >
        <ComboboxChips ref={anchor}>
          <ComboboxValue>
            {(values) => (
              <React.Fragment>
                {values.map((value: string) => (
                  <ComboboxChip key={value}>{value}</ComboboxChip>
                ))}
                <ComboboxChipsInput />
              </React.Fragment>
            )}
          </ComboboxValue>
        </ComboboxChips>
        <ComboboxContent anchor={anchor}>
          <ComboboxEmpty>No items found.</ComboboxEmpty>
          <ComboboxList>
            {(item) => (
              <ComboboxItem key={item} value={item}>
                {item}
              </ComboboxItem>
            )}
          </ComboboxList>
        </ComboboxContent>
      </Combobox>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free