Home / Function/ SelectDemo() — ui Function Reference

SelectDemo() — ui Function Reference

Architecture documentation for the SelectDemo() function in select-demo.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  6cf6a2ac_e3fa_5ea7_2e55_d9543a4fade3["SelectDemo()"]
  8014d377_9041_03a4_6546_49dba37c8678["select-demo.tsx"]
  6cf6a2ac_e3fa_5ea7_2e55_d9543a4fade3 -->|defined in| 8014d377_9041_03a4_6546_49dba37c8678
  style 6cf6a2ac_e3fa_5ea7_2e55_d9543a4fade3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/examples/select-demo.tsx lines 13–31

export default function SelectDemo() {
  return (
    <Select>
      <SelectTrigger className="w-[180px]">
        <SelectValue placeholder="Select a fruit" />
      </SelectTrigger>
      <SelectContent>
        <SelectGroup>
          <SelectLabel>Fruits</SelectLabel>
          <SelectItem value="apple">Apple</SelectItem>
          <SelectItem value="banana">Banana</SelectItem>
          <SelectItem value="blueberry">Blueberry</SelectItem>
          <SelectItem value="grapes">Grapes</SelectItem>
          <SelectItem value="pineapple">Pineapple</SelectItem>
        </SelectGroup>
      </SelectContent>
    </Select>
  )
}

Subdomains

Frequently Asked Questions

What does SelectDemo() do?
SelectDemo() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/select-demo.tsx.
Where is SelectDemo() defined?
SelectDemo() is defined in apps/v4/registry/new-york-v4/examples/select-demo.tsx at line 13.

Analyze Your Own Codebase

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

Try Supermodel Free