Home / Function/ ComboboxWithGroupsAndSeparator() — ui Function Reference

ComboboxWithGroupsAndSeparator() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/combobox-example.tsx lines 708–734

function ComboboxWithGroupsAndSeparator() {
  return (
    <Example title="With Groups and Separator">
      <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>
                <ComboboxSeparator />
              </ComboboxGroup>
            )}
          </ComboboxList>
        </ComboboxContent>
      </Combobox>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free