pattern-library checked

U.S. Web Design System: Input prefix/suffix

Documents input prefixes and suffixes for commonly understood symbols, units, abbreviations, and icons; requires descriptive labels because affixes are hidden from screen readers; warns against open-ended fields and unclear abbreviations; and documents error and success group states.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Input prefix/suffix Choose input prefix/suffix when a common fixed symbol, unit, abbreviation, domain, or icon clarifies what the text input accepts. The affix is visible near the input but not editable as part of the field value. USWDS supports affixes for common symbols, units, abbreviations, and icons, with descriptive labels because affixes are hidden from screen readers.

Evidence Role

This source is treated as pattern-library evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: U.S. Web Design System. Last checked: .