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

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/combobox-example.tsx lines 745–771

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/base/examples/combobox-example.tsx.
Where is ComboboxWithGroupsAndSeparator() defined?
ComboboxWithGroupsAndSeparator() is defined in apps/v4/registry/bases/base/examples/combobox-example.tsx at line 745.

Analyze Your Own Codebase

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

Try Supermodel Free