AX - Alert
Overview
AX - Alert is an Experience Cloud component that displays important messages and notifications to portal users on Experience Sites pages.
Use it to show system alerts, error messages, warnings, success confirmations, or time-sensitive announcements. Control when alerts appear, what they say, and how they look—all configured in Experience Builder without code.
Perfect for portal maintenance notices, form submission confirmations, account status alerts, or guiding users through processes on customer or partner portals.

Configuration
Properties
Variant customizes the appearance of the alert to better reflect the type of message you're conveying. Choose the one that aligns with the message you aim to deliver for clearer user comprehension:
Base
A standard, general-purpose alert.
Error
For critical notifications or issues.
Offline
Indicates connectivity or availability concerns.
Warning
For alerts that need attention but aren't critical.
Content is the primary message conveyed in the alert, ensuring users are informed of the specific notification or situation. For richer messages, you can instead supply custom markup through the component's content slot.
Icon Name sets a Lightning Design System icon for the alert (for example utility:info), visually representing the nature or context of the message. Icon Size controls how large the icon appears — XX-Small, X-Small, Small, Medium, or Large — and requires an Icon Name.
Is Dismissible shows a close button so users can manually dismiss the alert. Enable it when the message is informational and users should be able to move past it.
Textured applies a textured background pattern to the alert for a more distinctive appearance.
Styling
Customize the alert's appearance from the Style section of the property editor.
Adjusts the alert's margins:
Block Start: Set the top margin.
Block End: Adjust the bottom margin.
Inline Start: Configure the left margin.
Inline End: Modify the right margin.
Provides backdrop customization:
Color: Select a solid color for the background.
Linear Gradient: Choose this option for a dynamic, visually appealing gradient effect.
Allows for text customization:
Color: Change the text color for improved visibility.
Font Weight: Choose the weight of the font for emphasis.
Horizontal Alignment: Select the text's alignment for optimal display in the alert.
Offers options to customize the border's appearance:
Color: Choose a color for the border's edge.
Size: Select the thickness of the border.
Style: Determine the overall look and feel with various styles.
Allows for various customizations of the icon's appearance:
Background Color: Alter the background color behind the icon.
Foreground Color: Change the main color of the icon.
Foreground Close Icon: Specify the icon's color to close the alert.
Foreground Color Utility: Make further color adjustments for better visibility and contrast.
Last updated
Was this helpful?

