callout warning caution amber alert callout warning caution amber alert deprecation amber warning callout caution notice box
Callout Warning
Fetch pattern JSON:
curl https://webspire.de/patterns/callout/warning.json warning.html
<aside role="note" aria-label="Warning" class="ws-callout flex gap-4 rounded-lg border-l-4 border-[var(--ws-color-warning)] bg-[var(--ws-color-warning-soft)] p-4">
<svg class="mt-0.5 h-5 w-5 shrink-0 text-[var(--ws-color-warning)]" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"/>
</svg>
<div>
<p class="font-semibold text-[var(--ws-color-warning)]">Warning</p>
<p class="mt-1 text-sm text-[var(--ws-callout-text-soft)]">This is a warning callout for potential issues. Use it to alert users about caveats, deprecated features, or actions that require caution.</p>
</div>
</aside>
Details
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste
Stable Published
calloutwarningcautionamberalert
Slots
| Name | Required | Description |
|---|---|---|
| icon | No | Leading warning triangle icon. |
| title | Yes | Callout heading text. |
| body | Yes | Callout message content. |
Amber-themed warning callout for flagging potential issues, deprecations, or actions that need extra attention. Extends the base with a caution-oriented color scheme and triangle icon.