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 ComponentRegistry ChartRegistry 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  c974a569_c9a6_83ea_1490_ef8eca03f4da["native-select-groups.tsx"]
  07a2ee22_9641_0a2c_60f0_2b0eb0a8f9b2["native-select"]
  c974a569_c9a6_83ea_1490_ef8eca03f4da --> 07a2ee22_9641_0a2c_60f0_2b0eb0a8f9b2
  style c974a569_c9a6_83ea_1490_ef8eca03f4da fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  NativeSelect,
  NativeSelectOptGroup,
  NativeSelectOption,
} from "@/registry/new-york-v4/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 ComponentRegistry domain, ChartRegistry 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/registry/new-york-v4/examples/native-select-groups.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

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

Try Supermodel Free