Home / Function/ NativeSelectWithField() — ui Function Reference

NativeSelectWithField() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ee11254b_c589_c9ad_9cfd_ab556e62c553["NativeSelectWithField()"]
  caea9a88_63ad_a068_ead5_829590ec8b5c["native-select-example.tsx"]
  ee11254b_c589_c9ad_9cfd_ab556e62c553 -->|defined in| caea9a88_63ad_a068_ead5_829590ec8b5c
  style ee11254b_c589_c9ad_9cfd_ab556e62c553 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/native-select-example.tsx lines 87–103

function NativeSelectWithField() {
  return (
    <Example title="With Field">
      <Field>
        <FieldLabel htmlFor="native-select-country">Country</FieldLabel>
        <NativeSelect id="native-select-country">
          <NativeSelectOption value="">Select a country</NativeSelectOption>
          <NativeSelectOption value="us">United States</NativeSelectOption>
          <NativeSelectOption value="uk">United Kingdom</NativeSelectOption>
          <NativeSelectOption value="ca">Canada</NativeSelectOption>
          <NativeSelectOption value="au">Australia</NativeSelectOption>
        </NativeSelect>
        <FieldDescription>Select your country of residence.</FieldDescription>
      </Field>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free