InputTypes() — ui Function Reference
Architecture documentation for the InputTypes() function in input-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 83460b0a_b941_9c90_c953_645d6cef956e["InputTypes()"] 87e902db_d09e_d63e_d96a_582b4eb4c286["input-example.tsx"] 83460b0a_b941_9c90_c953_645d6cef956e -->|defined in| 87e902db_d09e_d63e_d96a_582b4eb4c286 style 83460b0a_b941_9c90_c953_645d6cef956e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/input-example.tsx lines 108–159
function InputTypes() {
return (
<Example title="Input Types">
<div className="flex w-full flex-col gap-6">
<Field>
<FieldLabel htmlFor="input-demo-password">Password</FieldLabel>
<Input
id="input-demo-password"
type="password"
placeholder="Password"
/>
</Field>
<Field>
<FieldLabel htmlFor="input-demo-tel">Phone</FieldLabel>
<Input
id="input-demo-tel"
type="tel"
placeholder="+1 (555) 123-4567"
/>
</Field>
<Field>
<FieldLabel htmlFor="input-demo-url">URL</FieldLabel>
<Input
id="input-demo-url"
type="url"
placeholder="https://example.com"
/>
</Field>
<Field>
<FieldLabel htmlFor="input-demo-search">Search</FieldLabel>
<Input id="input-demo-search" type="search" placeholder="Search" />
</Field>
<Field>
<FieldLabel htmlFor="input-demo-number">Number</FieldLabel>
<Input id="input-demo-number" type="number" placeholder="123" />
</Field>
<Field>
<FieldLabel htmlFor="input-demo-date">Date</FieldLabel>
<Input id="input-demo-date" type="date" />
</Field>
<Field>
<FieldLabel htmlFor="input-demo-time">Time</FieldLabel>
<Input id="input-demo-time" type="time" />
</Field>
<Field>
<FieldLabel htmlFor="input-demo-file">File</FieldLabel>
<Input id="input-demo-file" type="file" />
</Field>
</div>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does InputTypes() do?
InputTypes() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/input-example.tsx.
Where is InputTypes() defined?
InputTypes() is defined in apps/v4/registry/bases/base/examples/input-example.tsx at line 108.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free