Home / Function/ SelectInDialog() — ui Function Reference

SelectInDialog() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  40fe0bca_1601_e4e5_34e0_592c59927d8a["SelectInDialog()"]
  45dbd80e_4241_7e94_2ac4_8c9f125488aa["select-example.tsx"]
  40fe0bca_1601_e4e5_34e0_592c59927d8a -->|defined in| 45dbd80e_4241_7e94_2ac4_8c9f125488aa
  style 40fe0bca_1601_e4e5_34e0_592c59927d8a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/select-example.tsx lines 522–554

function SelectInDialog() {
  return (
    <Example title="In Dialog">
      <Dialog>
        <DialogTrigger asChild>
          <Button variant="outline">Open Dialog</Button>
        </DialogTrigger>
        <DialogContent>
          <DialogHeader>
            <DialogTitle>Select Example</DialogTitle>
            <DialogDescription>
              Use the select below to choose a fruit.
            </DialogDescription>
          </DialogHeader>
          <Select>
            <SelectTrigger>
              <SelectValue placeholder="Select a fruit" />
            </SelectTrigger>
            <SelectContent>
              <SelectGroup>
                <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>
        </DialogContent>
      </Dialog>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free