Used to give positive feedback for a sub-task as part of a process.
Warning
This is currently experimental because more research is needed to validate it.
Examples
Success: Your application has been saved.
Contents
<div class="rosgovuk-positive-feedback">
<svg role="img" viewBox="0 0 512 512" aria-hidden="true">
<title>Success</title>
<path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path>
</svg>
<strong class="rosgovuk-positive-feedback__text">
<span class="rosgovuk-positive-feedback__assistive">Success:</span>
Your application has been saved.
</strong>
</div>
When to use this component
Use this to provide positive user feedback when the user has completed an action, but not the full process. For example, when a user has saved or uploaded something.
When not to use this component
As part of a multi-page form, as the GOV.UK design system panel is more appropriate.
Research on this component
- TBC
Services using this pattern
- Unknown
