Home / Function/ NativeSelectWithGroups() — ui Function Reference

NativeSelectWithGroups() — ui Function Reference

Architecture documentation for the NativeSelectWithGroups() function in native-select-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  0a3ddf13_7034_c04f_b28d_44d610ca2f9e["NativeSelectWithGroups()"]
  616367e3_99c0_63d0_bcec_0471926df45a["native-select-example.tsx"]
  0a3ddf13_7034_c04f_b28d_44d610ca2f9e -->|defined in| 616367e3_99c0_63d0_bcec_0471926df45a
  style 0a3ddf13_7034_c04f_b28d_44d610ca2f9e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/native-select-example.tsx lines 46–64

function NativeSelectWithGroups() {
  return (
    <Example title="With Groups">
      <NativeSelect>
        <NativeSelectOption value="">Select a food</NativeSelectOption>
        <NativeSelectOptGroup label="Fruits">
          <NativeSelectOption value="apple">Apple</NativeSelectOption>
          <NativeSelectOption value="banana">Banana</NativeSelectOption>
          <NativeSelectOption value="blueberry">Blueberry</NativeSelectOption>
        </NativeSelectOptGroup>
        <NativeSelectOptGroup label="Vegetables">
          <NativeSelectOption value="carrot">Carrot</NativeSelectOption>
          <NativeSelectOption value="broccoli">Broccoli</NativeSelectOption>
          <NativeSelectOption value="spinach">Spinach</NativeSelectOption>
        </NativeSelectOptGroup>
      </NativeSelect>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does NativeSelectWithGroups() do?
NativeSelectWithGroups() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/native-select-example.tsx.
Where is NativeSelectWithGroups() defined?
NativeSelectWithGroups() is defined in apps/v4/registry/bases/base/examples/native-select-example.tsx at line 46.

Analyze Your Own Codebase

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

Try Supermodel Free