Home / Function/ InputWithSelect() — ui Function Reference

InputWithSelect() — ui Function Reference

Architecture documentation for the InputWithSelect() function in input-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  0ccbbd66_1ccb_8b67_e3d4_349f25bbc301["InputWithSelect()"]
  2a38594c_1959_8927_e41a_b562d6c912ae["input-example.tsx"]
  0ccbbd66_1ccb_8b67_e3d4_349f25bbc301 -->|defined in| 2a38594c_1959_8927_e41a_b562d6c912ae
  style 0ccbbd66_1ccb_8b67_e3d4_349f25bbc301 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/input-example.tsx lines 161–181

function InputWithSelect() {
  return (
    <Example title="With Select">
      <div className="flex w-full gap-2">
        <Input type="text" placeholder="Enter amount" className="flex-1" />
        <Select defaultValue="usd">
          <SelectTrigger className="w-32">
            <SelectValue />
          </SelectTrigger>
          <SelectContent>
            <SelectGroup>
              <SelectItem value="usd">USD</SelectItem>
              <SelectItem value="eur">EUR</SelectItem>
              <SelectItem value="gbp">GBP</SelectItem>
            </SelectGroup>
          </SelectContent>
        </Select>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free