Home / Function/ InputWithNativeSelect() — ui Function Reference

InputWithNativeSelect() — ui Function Reference

Architecture documentation for the InputWithNativeSelect() function in input-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  bc99fdee_5c58_5613_05c4_14d76feb79f3["InputWithNativeSelect()"]
  2a38594c_1959_8927_e41a_b562d6c912ae["input-example.tsx"]
  bc99fdee_5c58_5613_05c4_14d76feb79f3 -->|defined in| 2a38594c_1959_8927_e41a_b562d6c912ae
  style bc99fdee_5c58_5613_05c4_14d76feb79f3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/input-example.tsx lines 194–207

function InputWithNativeSelect() {
  return (
    <Example title="With Native Select">
      <div className="flex w-full gap-2">
        <Input type="tel" placeholder="(555) 123-4567" className="flex-1" />
        <NativeSelect defaultValue="+1">
          <NativeSelectOption value="+1">+1</NativeSelectOption>
          <NativeSelectOption value="+44">+44</NativeSelectOption>
          <NativeSelectOption value="+46">+46</NativeSelectOption>
        </NativeSelect>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free