NativeSelect() — ui Function Reference
Architecture documentation for the NativeSelect() function in native-select.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD aa4af1dd_ba5c_5283_30a7_4d8d69fad9df["NativeSelect()"] 413b5581_26d0_5875_8210_b5611f2399e4["native-select.tsx"] aa4af1dd_ba5c_5283_30a7_4d8d69fad9df -->|defined in| 413b5581_26d0_5875_8210_b5611f2399e4 style aa4af1dd_ba5c_5283_30a7_4d8d69fad9df fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/ui/native-select.tsx lines 10–42
function NativeSelect({
className,
size = "default",
...props
}: NativeSelectProps) {
return (
<div
className={cn(
"cn-native-select-wrapper group/native-select relative w-fit has-[select:disabled]:opacity-50",
className
)}
data-slot="native-select-wrapper"
data-size={size}
>
<select
data-slot="native-select"
data-size={size}
className="cn-native-select outline-none disabled:pointer-events-none disabled:cursor-not-allowed"
{...props}
/>
<IconPlaceholder
lucide="ChevronDownIcon"
tabler="IconSelector"
hugeicons="UnfoldMoreIcon"
phosphor="CaretDownIcon"
remixicon="RiArrowDownSLine"
className="cn-native-select-icon pointer-events-none absolute select-none"
aria-hidden="true"
data-slot="native-select-icon"
/>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does NativeSelect() do?
NativeSelect() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/native-select.tsx.
Where is NativeSelect() defined?
NativeSelect() is defined in apps/v4/registry/bases/base/ui/native-select.tsx at line 10.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free