Input
Displays a form input field or a component that looks like an input field.
Default
A default text input.
With Label
Input paired with a label.
File
Input for file uploads.
Disabled
Input in disabled state.
Usage
julia
using Suite
Input(placeholder="Email")
Input(type="password", placeholder="Password")
Input(type="file")
Input(:disabled => true, placeholder="Disabled")API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| type | String | "text" | text | email | password | file | number | etc. |
| class | String | "" | Additional CSS classes |
| kwargs... | Pair | - | Any HTML attribute (placeholder, disabled, id, etc.) |