input & textarea
One control family with buttons: same radius, border, and height.
Example
Basic usage
<label for="bio">Bio</label>
<textarea id="bio"></textarea> <!-- field-sizing: content -->API
These are native input and textarea elements. Their types, values, constraints, events, and form behavior are the HTML API; Mica adds presentation, not replacement semantics.
Styling
| Target | Value | Default | Description |
|---|---|---|---|
| Text-like controls | native input types | native semantics | Fill their container and share Mica's control height, border, disabled, focus, and user-invalid presentation. |
textarea | native element | at least three lines | Uses field-sizing: content to grow with authored content while retaining vertical resize. |
Notes
Field text stays 16px — smaller triggers iOS auto-zoom. Fields fill their container; constrain with layout primitives.