What it does
- Captures user text input
- Stores the value in state automatically
- Can be referenced in code mode transforms via
input(slug) - Resizable width (120px to 432px)
Configuration
| Setting | Description |
|---|---|
| Placeholder | Text shown when the input is empty |
| Width | Horizontal size of the input field |
State
The Input component automatically stores its value in the app’s state system. The state is structured as:input('simple-input-abc') which returns { value }.
See the State page for details on how state flows through your app.
Referencing in code mode
To use an Input’s value in a Table or Select transform:Example use cases
- Search field — Filter table data based on user text
- Form field — Collect user information