callout
Display The small pieces of vocabulary a screen is assembled from: status, identity, progress, data tables and charts, and the one alert shape.
The one alert vocabulary: tinted strip, tone icon, optional bold title, one body paragraph.
Each example is live, but its links go nowhere. HTML shows the markup to copy.
info
<div rst-callout rst-tone ="info" >
<span rst-callout-ic aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><circle cx ="12" cy ="12" r ="10" /><path d ="M12 16v-4" /><path d ="M12 8h.01" /></svg >
</span >
<div rst-callout-body >
<p >Posts are visible to members only until the site is published.</p >
</div >
</div >
positive
<div rst-callout rst-tone ="positive" >
<span rst-callout-ic aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><circle cx ="12" cy ="12" r ="10" /><path d ="m9 12 2 2 4-4" /></svg >
</span >
<div rst-callout-body >
<strong >Payments are connected</strong >
<p >You can take payment for tickets now.</p >
</div >
</div >
warning
<div rst-callout rst-tone ="warning" >
<span rst-callout-ic aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><path d ="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" /><path d ="M12 9v4" /><path d ="M12 17h.01" /></svg >
</span >
<div rst-callout-body >
<strong >Connect payments to start selling</strong >
<p >Your event is live but cannot take payment yet.</p >
</div >
</div >
negative
<div rst-callout rst-tone ="negative" >
<span rst-callout-ic aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><circle cx ="12" cy ="12" r ="10" /><path d ="m15 9-6 6" /><path d ="m9 9 6 6" /></svg >
</span >
<div rst-callout-body >
<strong >The last import failed</strong >
<p >Nothing was changed. Fix row 91 and try again.</p >
</div >
</div >
negative, announced as an alert
role="alert" makes a screen reader announce it as soon as it appears. Keep it for messages that cannot wait.
<div rst-callout rst-tone ="negative" role ="alert" >
<span rst-callout-ic aria-hidden ="true" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><circle cx ="12" cy ="12" r ="10" /><path d ="m15 9-6 6" /><path d ="m9 9 6 6" /></svg >
</span >
<div rst-callout-body >
<strong >The import stopped</strong >
<p >Nothing was changed. Fix row 91 and try again.</p >
</div >
</div >