select-disabled.tsx — ui Source File
Architecture documentation for select-disabled.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR b13e4349_c1e5_8e3c_8157_6a6f7fe5b64e["select-disabled.tsx"] 9e04de79_0b92_db17_84ad_a529f1990b55["select"] b13e4349_c1e5_8e3c_8157_6a6f7fe5b64e --> 9e04de79_0b92_db17_84ad_a529f1990b55 style b13e4349_c1e5_8e3c_8157_6a6f7fe5b64e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Select,
SelectContent,
SelectGroup,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/examples/base/ui/select"
export function SelectDisabled() {
const items = [
{ label: "Select a fruit", value: null },
{ label: "Apple", value: "apple" },
{ label: "Banana", value: "banana" },
{ label: "Blueberry", value: "blueberry" },
{ label: "Grapes", value: "grapes", disabled: true },
{ label: "Pineapple", value: "pineapple" },
]
return (
<Select items={items} disabled>
<SelectTrigger className="w-full max-w-48">
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectGroup>
{items.map((item) => (
<SelectItem
key={item.value}
value={item.value}
disabled={item.disabled}
>
{item.label}
</SelectItem>
))}
</SelectGroup>
</SelectContent>
</Select>
)
}
Domain
Subdomains
Functions
Dependencies
- select
Source
Frequently Asked Questions
What does select-disabled.tsx do?
select-disabled.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 select-disabled.tsx?
select-disabled.tsx defines 1 function(s): SelectDisabled.
What does select-disabled.tsx depend on?
select-disabled.tsx imports 1 module(s): select.
Where is select-disabled.tsx in the architecture?
select-disabled.tsx is located at apps/v4/examples/base/select-disabled.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free