Home / Function/ ComboboxWithGroups() — ui Function Reference

ComboboxWithGroups() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/combobox-example.tsx lines 681–706

function ComboboxWithGroups() {
  return (
    <Example title="With Groups">
      <Combobox items={timezones}>
        <ComboboxInput placeholder="Select a timezone" />
        <ComboboxContent>
          <ComboboxEmpty>No timezones found.</ComboboxEmpty>
          <ComboboxList>
            {(group) => (
              <ComboboxGroup key={group.value} items={group.items}>
                <ComboboxLabel>{group.value}</ComboboxLabel>
                <ComboboxCollection>
                  {(item) => (
                    <ComboboxItem key={item} value={item}>
                      {item}
                    </ComboboxItem>
                  )}
                </ComboboxCollection>
              </ComboboxGroup>
            )}
          </ComboboxList>
        </ComboboxContent>
      </Combobox>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free