Home / Function/ SelectBasic() — ui Function Reference

SelectBasic() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/select-example.tsx lines 67–88

function SelectBasic() {
  return (
    <Example title="Basic">
      <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" disabled>
              Grapes
            </SelectItem>
            <SelectItem value="pineapple">Pineapple</SelectItem>
          </SelectGroup>
        </SelectContent>
      </Select>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free