The inline error component is used to indicate that required information in a user input field is missing or invalid.
<label class="c-label" for="input-1">Label Name</label>
<input
type="text"
class="c-text-field c-text-field--error"
placeholder="e.g. Homer J. Simpson"
id="input-1" />
<span class="c-inline-error">
<i class="icon icon--error c-inline-error__icon"></i>
<span class="c-inline-error__content">
Please enter your full name.
</span>
</span>
</div>