mica

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

TargetValueDefaultDescription
Text-like controlsnative input typesnative semanticsFill their container and share Mica's control height, border, disabled, focus, and user-invalid presentation.
textareanative elementat least three linesUses 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.

← progress & meterselect →