Input
A styled text input field with optional label support.
s0 add input
Usage
@State private var email = ""
S0.Input("Email", text: $email, placeholder: "you@example.com")S0.Input(text: $name, placeholder: "Enter your name")Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| label | String? | nil | Optional label displayed above the field. |
| text | Binding<String> | — | Binding to the text value. |
| placeholder | String | "" | Placeholder text. |