A small native layout for a field and its prefix/suffix units, icons or actions. It retains projected fields and their native form ownership; it is not a value control.
<label for="equity">Target equity (USD millions)</label>
<qds-input-group label="Target equity entry">
<span slot="prefix" aria-hidden="true">USD</span>
<input id="equity" name="equity" type="number" min="0" value="75">
<button slot="suffix" type="button">Clear equity</button>
</qds-input-group>
<script type="module" src="/assets/components/input-group/qds-input-group.js"></script>
label: optional accessible group name. It never replaces the field’s own label. An unnamed composition adds no group role.prefix and suffix slots: arbitrary persistent content/actions; empty wrappers collapse automatically. Units must also appear in the field label or associated description. Mark genuinely decorative duplicated icons/units aria-hidden="true".group, prefix, control, suffix.fieldset disabled to disable a related form group; the layout does not pretend to disable projected children. Give action buttons type="button" unless they intentionally submit/reset a form, and provide accessible labels and 44px targets.The adjacent test.html demonstrates native values/labels, currency/percentage addons, actions, QDS composition, required/disabled state, responsive layout and dynamic slot changes. npm run verify covers native and generated behavior; both theme screenshots and contrast checks are required.
Operations > New update (/#/operations/updates/new) groups a production-variance field with a delta prefix and generated Reset variance action. The form and visible review summary reflect the changed value. All reporting state is local and resets on navigation/reload.
Projected default-slot fields use border-box sizing so their padding and borders stay within the group at narrow widths. Prefix/suffix content retains its intrinsic width; keep action labels concise and label the field itself.