Home / File/ native-select-groups.tsx — ui Source File

native-select-groups.tsx — ui Source File

Architecture documentation for native-select-groups.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  26b4f3f6_de5d_6e2d_cda3_74455ca3c056["native-select-groups.tsx"]
  47f07ba8_27ea_2ee4_108e_36c3f212396b["native-select"]
  26b4f3f6_de5d_6e2d_cda3_74455ca3c056 --> 47f07ba8_27ea_2ee4_108e_36c3f212396b
  style 26b4f3f6_de5d_6e2d_cda3_74455ca3c056 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  NativeSelect,
  NativeSelectOptGroup,
  NativeSelectOption,
} from "@/examples/radix/ui/native-select"

export default function NativeSelectGroups() {
  return (
    <NativeSelect>
      <NativeSelectOption value="">Select department</NativeSelectOption>
      <NativeSelectOptGroup label="Engineering">
        <NativeSelectOption value="frontend">Frontend</NativeSelectOption>
        <NativeSelectOption value="backend">Backend</NativeSelectOption>
        <NativeSelectOption value="devops">DevOps</NativeSelectOption>
      </NativeSelectOptGroup>
      <NativeSelectOptGroup label="Sales">
        <NativeSelectOption value="sales-rep">Sales Rep</NativeSelectOption>
        <NativeSelectOption value="account-manager">
          Account Manager
        </NativeSelectOption>
        <NativeSelectOption value="sales-director">
          Sales Director
        </NativeSelectOption>
      </NativeSelectOptGroup>
      <NativeSelectOptGroup label="Operations">
        <NativeSelectOption value="support">
          Customer Support
        </NativeSelectOption>
        <NativeSelectOption value="product-manager">
          Product Manager
        </NativeSelectOption>
        <NativeSelectOption value="ops-manager">
          Operations Manager
        </NativeSelectOption>
      </NativeSelectOptGroup>
    </NativeSelect>
  )
}

Subdomains

Dependencies

  • native-select

Frequently Asked Questions

What does native-select-groups.tsx do?
native-select-groups.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in native-select-groups.tsx?
native-select-groups.tsx defines 1 function(s): NativeSelectGroups.
What does native-select-groups.tsx depend on?
native-select-groups.tsx imports 1 module(s): native-select.
Where is native-select-groups.tsx in the architecture?
native-select-groups.tsx is located at apps/v4/examples/radix/native-select-groups.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free