wf-message
is an inline alert component for surfacing status, validation feedback, and contextual information within the page flow.
wf-toast
is its fixed-position sibling – a stacking container for transient notifications that appear over the UI without disrupting layout. Both share the same color system, inner structure, and accent stripe.
Color Variants
Semantic Colors
Six semantic color variants with matching accent stripe, tinted background, and border.
This action completed successfully.
Something went wrong. Please try again.
Your session will expire in 5 minutes.
A new version of this record is available.
Your changes have been saved as a draft.
Review the linked documentation before continuing.
Use
wf-message-icon
,
wf-message-body
,
wf-message-title
, and
wf-message-close
for a fully composed message.
Payment confirmed
Your order has been placed and will ship within 2 business days.
Form could not be submitted
Please fix the errors below before trying again.
Action required
Your billing information is incomplete. Update it to avoid service interruption.
Scheduled maintenance
The system will be unavailable on Saturday 9–11 PM UTC.
HTML
<div class="wf-message wf-message-positive">
<span class="wf-message-icon">
<i class="icon checkmark circle" aria-hidden="true"></i>
</span>
<div class="wf-message-body">
<span class="wf-message-title">Payment confirmed</span>
Your order has been placed and will ship within 2 business days.
</div>
<button class="wf-message-close" type="button" aria-label="Dismiss">
<i class="icon close" aria-hidden="true"></i>
</button>
</div>
Style Modifiers
Filled
wf-message-filled
Doubles the tint intensity for a more prominent background.
A list inside
wf-message-body
is automatically styled with consistent spacing - useful for surfacing multiple validation errors at once.
Please fix the following errors
Email address is required.
Password must be at least 8 characters.
You must agree to the terms of service.
HTML
<div class="wf-message wf-message-negative">
<span class="wf-message-icon">
<i class="icon close circle" aria-hidden="true"></i>
</span>
<div class="wf-message-body">
<span class="wf-message-title">Please fix the following errors</span>
<ul>
<li>Email address is required.</li>
<li>Password must be at least 8 characters.</li>
<li>You must agree to the terms of service.</li>
</ul>
</div>
</div>
Attached Messages
Stacked with Another Element
Use
wf-message-attached-top
and
wf-message-attached-bottom
to remove the shared border and radius between two adjacent messages, or between a message and a card.
Confirm before proceeding
This will permanently delete all selected records.
wf-toast
is a fixed-position container. Each child is a
wf-toast-item
with the same inner structure as a message. Items slide in on insertion and stack vertically with a gap.
Upload complete
3 files were uploaded successfully.