Edit Input¶
A compact input on the surface color, at the field height. The Combo Box, the Chip Select, and the text boxes of the Confirm Dialog and the Prompt Dialog build with it.
Decision¶
| When | Use |
|---|---|
| An input that sits inside a component or a table row | Edit Input |
| A labeled field on a page | The field containers on Form Fields |
Usage¶
<input class="stolon-edit-input" value="name" aria-label="Name" />
Class: stolon-edit-input.
States and Modifiers¶
- Inside a page or dialog the field look from Form Fields has higher specificity, so an edit input matches the other fields there. Outside them it is the compact look.
Reference¶
Generated from the code by scripts/build-docs.mjs. Edit the code, not this section.
| Class | What it looks like |
|---|---|
stolon-edit-input |
Input on the same surface and at the same height as the page fields, for inline and combo use outside a form |
Example¶
Example Code¶
<!-- title: Edit Input -->
<input class="stolon-edit-input" value="Compact input" aria-label="Compact input" />