PatternFly

Alert

An alert is a notification that provides brief information to the user without blocking their workflow.

Alert examples

Alert variants

PatternFly supports several alert variants for different scenarios. Each variant has an associated status icon, background, and alert title coded to communicate the severity of an alert. Use the variant property to apply the following styling options. If no variant is specified, then the variant will be set to "custom".

Variant
Description
Custom
Use for generic messages that should have a custom color set by the associated CSS variable. Should be used when the message has no associated severity.
Info
Use for general informational messages
Success
Use to indicate that a task or process has been completed successfully
Warning
Use to indicate that a non-critical error has occurred
Danger
Use to indicate that a critical or blocking error has occurred

Custom alert:Custom alert title

Info alert:Info alert title

Success alert:Success alert title

Warning alert:Warning alert title

Danger alert:Danger alert title

Alert variations

PatternFly supports several properties and variations that can be used to add extra content to an alert.

  • As demonstrated in the 1st variation below, use the actionLinks property to add one or more <AlertActionLink> components that place links beneath the alert message. You must pass in href and component="a" properties to have an <AlertActionLink> act as a proper link, rather than as a button.

  • As demonstrated in the 2nd variation below, use a native HTML <a> element to add links within an alert message.

  • As demonstrated in the 3rd variation below, use the actionClose property to add an <AlertActionCloseButton> component, which can be used to manage and customize alert dismissals.

  • As demonstrated in the 4th and 5th variations below, use the component property to set the element for an alert title.

    • If there is not a description passed via children prop, then the component prop should be set to a non-heading element such as a span or div.
    • If there is a description passed via children prop, then the component prop should be a heading element. Headings should be ordered by their level and heading levels should not be skipped. For example, a heading of an h2 level should not be followed directly by an h4.

Success alert:Success alert title

Success alert description. This should tell the user more information about the alert.

Success alert:Success alert title

Success alert description. This should tell the user more information about the alert. This is a link.

Success alert:Success alert title

Short alert description.

Success alert:div success alert title
Success alert:h6 Success alert title

Short alert description.

Alert timeout

Use the timeout property to automatically dismiss an alert after a period of time. If set to true, the timeout will be 8000 milliseconds. Provide a specific value to dismiss the alert after a different number of milliseconds.

    Expandable alerts

    An alert can contain additional, hidden information that is made visible when users click a caret icon. This information can be expanded and collapsed each time the icon is clicked.

    It is not recommended to use an expandable alert with a timeout in a toast alert group because the alert could timeout before users have time to interact with and view the entire alert.

    See the toast alert considerations section of the alert accessibility documentation to understand the accessibility risks associated with using toast alerts.

    Success alert:Success alert title

    Success alert:Success alert title

    Truncated alerts

    Use the truncateTitle property to shorten a long title. Set truncateTitle equal to a number (passed in as {n}) to reduce the number of lines of text in the alert's title. Users may hover over or tab to a truncated title to see the full message in a tooltip.

    Info alert: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pellentesque neque cursus enim fringilla tincidunt. Proin lobortis aliquam dictum. Nam vel ullamcorper nulla, nec blandit dolor. Vivamus pellentesque neque justo, nec accumsan nulla rhoncus id. Suspendisse mollis, tortor quis faucibus volutpat, sem leo fringilla turpis, ac lacinia augue metus in nulla. Cras vestibulum lacinia orci. Pellentesque sodales consequat interdum. Sed porttitor tincidunt metus nec iaculis. Pellentesque non commodo justo. Morbi feugiat rhoncus neque, vitae facilisis diam aliquam nec. Sed dapibus vitae quam at tristique. Nunc vel commodo mi. Mauris et rhoncus leo.

    Warning alert: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pellentesque neque cursus enim fringilla tincidunt. Proin lobortis aliquam dictum. Nam vel ullamcorper nulla, nec blandit dolor. Vivamus pellentesque neque justo, nec accumsan nulla rhoncus id. Suspendisse mollis, tortor quis faucibus volutpat, sem leo fringilla turpis, ac lacinia augue metus in nulla. Cras vestibulum lacinia orci. Pellentesque sodales consequat interdum. Sed porttitor tincidunt metus nec iaculis. Pellentesque non commodo justo. Morbi feugiat rhoncus neque, vitae facilisis diam aliquam nec. Sed dapibus vitae quam at tristique. Nunc vel commodo mi. Mauris et rhoncus leo.

    Danger alert: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pellentesque neque cursus enim fringilla tincidunt. Proin lobortis aliquam dictum. Nam vel ullamcorper nulla, nec blandit dolor. Vivamus pellentesque neque justo, nec accumsan nulla rhoncus id. Suspendisse mollis, tortor quis faucibus volutpat, sem leo fringilla turpis, ac lacinia augue metus in nulla. Cras vestibulum lacinia orci. Pellentesque sodales consequat interdum. Sed porttitor tincidunt metus nec iaculis. Pellentesque non commodo justo. Morbi feugiat rhoncus neque, vitae facilisis diam aliquam nec. Sed dapibus vitae quam at tristique. Nunc vel commodo mi. Mauris et rhoncus leo.

    Custom icons

    Use the customIcon property to replace a default alert icon with a custom icon.

    Custom alert:Default alert title

    Info alert:Info alert title

    Success alert:Success alert title

    Warning alert:Warning alert title

    Danger alert:Danger alert title

    Inline alerts variants

    Use inline alerts to display an alert inline with content. All alert variants may use the isInline property to position alerts in content-heavy areas, such as within forms, wizards, or drawers.

    Custom alert:Custom inline alert title

    Info alert:Info inline alert title

    Success alert:Success inline alert title

    Warning alert:Warning inline alert title

    Danger alert:Danger inline alert title

    Inline alert variations

    All general alert variations can use the isInline property to apply inline styling.

    Success alert:Success alert title

    Success alert description. This should tell the user more information about the alert.

    Success alert:Success alert title

    Success alert description. This should tell the user more information about the alert. This is a link.

    Success alert:Success alert title

    Short alert description.

    Success alert:div success alert title
    Success alert:h6 Success alert title

    Short alert description.

    Plain inline alert variants

    Use the isPlain property to make any inline alert plain. Plain styling removes the colored background but keeps colored text and icons.

    Custom alert:Custom inline alert title

    Info alert:Info inline alert title

    Success alert:Success inline alert title

    Warning alert:Warning inline alert title

    Danger alert:Danger inline alert title

    Plain inline alert variations

    It is not recommended to use a plain inline alert with actionClose nor actionLinks because these alerts are non-dismissible and should persist until the error or action related to the alert is resolved.

    Success alert:Success alert title

    Success alert description. This should tell the user more information about the alert.

    Static live region alerts

    Live region alerts allow you to expose dynamic content changes in a way that can be announced by assistive technologies.

    By default, isLiveRegionalerts are static.

    Info alert:Default live region configuration

    This alert uses the recommended isLiveRegion prop to automatically set ARIA attributes and CSS classes.

    Info alert:Customized live region

    You can alternatively omit the isLiveRegion prop to specify ARIA attributes and CSS manually on the containing element.

    Dynamic live region alerts

    Alerts that are asynchronously appended into dynamic alert groups via the isLiveRegion property will be announced to assistive technology the moment the change happens, following the strategy used for aria-atomic, which defaults to false. This means only changes of type "addition" will be announced.

      Asynchronous live region alerts

      This example shows how an alert could be triggered by an asynchronous event in the application. Note that you can customize how the alert will be announced to assistive technology. See the alert accessibility for more information.

        Alert group examples

        An alert group stacks and positions 2 or more alerts in a live region, either in a layer over the main content of a page or inline with the page content. Alert groups should always rank alerts by age, stacking new alerts on top of old ones as they surface.

        Alert group variants

        Alert groups can be one of the following variants:

        Variant
        Description
        Static inline
        Static inline alert groups contain alerts that appear when the page loads, and are seen within the normal page content flow. These groups should not contain alerts that will dynamically appear or update.
        Toast
        Toast alert groups contain alerts that typically appear in response to an asynchronous event or user action. These groups are positioned on top of other content at the top right of the page.
        Dynamic
        Dynamic alert groups contain alerts that typically appear in response to a user action, and are seen within the normal page content flow.

        Dynamic alerts that are generated after the page initially loads must be appended to either a toast or dynamic AlertGroup, both of which must use the isLiveRegion property. New alerts appended to a toast or dynamic group will be announced by assistive technologies the moment the change happens. For information about customizing this announcement, read the aria-atomic and aria-relevant section of the alert accessibility documentation.

        Static inline alert group

        All alert group variants may combine multiple alert variants For example, the following static inline alert group includes one "success" alert and one "info" alert.

        • Success alert:Success alert

        • Info alert:Info alert

        Toast alert group

        Toast alert groups are created by passing in the isToast and isLiveRegion properties.

        Click the buttons in the example below to add alerts to a toast group.

        Toast alert group with overflow capture

        Users will see an overflow message once a predefined number of alerts are displayed. They will not see any alerts beyond the display limit, which must be explicitly set.

        In the following example, an overflow message will appear when more than 4 alerts would be shown. When a 5th alert would appear, an overflow message is shown instead.

        When an overflow message appears in an AlertGroup using the isLiveRegion property, the "view 1 more alert" text label will be announced, but the alert message will not.

        Users navigating via keyboard or another assistive technology will need a way to navigate to and reveal hidden alerts before they disappear. Alternatively, there should be a place where notifications or alerts are collected to be viewed or read later.

        Asynchronous alert groups

        The following example shows how alerts can be triggered by an asynchronous event in the application. You can customize how an alert will be announced to assistive technology by adjusting the value of the aria-live property. Click the "start async" alert button below and then click the buttons in the above toast examples to demonstrate how asynchronous events add alerts to a group. Click the "stop async alerts" button to halt this behavior.

        See the alert accessibility tab for more information on customizing this behavior.

        Dynamic alert groups

        Click the buttons in the example below to add dynamic alerts to a group.

          Dynamic alert group with overflow message

          In the following example, there can be a maximum of 4 alerts shown at once.

            Multiple dynamic alert groups

            You may add multiple alerts to an alert group at once. Click the "add alert collection" button in the example below to add a batch of 3 toast alerts to a group.

            Props

            Alert

            The main alert component.
            *required
            NameTypeDefaultDescription
            titlerequiredReact.ReactNodeTitle of the alert.
            actionCloseReact.ReactNodeClose button; use the alert action close button component.
            actionLinksReact.ReactNodeAction links; use a single alert action link component or multiple wrapped in an array or React.Fragment.
            childrenReact.ReactNode''Content rendered inside the alert.
            classNamestring''Additional classes to add to the alert.
            componentunknown'h4'Sets the element to use as the alert title. Default is h4.
            customIconReact.ReactNodeSet a custom icon to the alert. If not set the icon is set according to the variant.
            idstringUniquely identifies the alert.
            isExpandablebooleanfalseFlag indicating that the alert is expandable.
            isInlinebooleanfalseFlag to indicate if the alert is inline.
            isLiveRegionbooleanfalseFlag to indicate if the alert is in a live region.
            isPlainbooleanfalseFlag to indicate if the alert is plain.
            onMouseEnterNo type info() => {}
            onMouseLeaveNo type info() => {}
            onTimeout() => void() => {}Function to be executed on alert timeout. Relevant when the timeout prop is set.
            ouiaIdnumber | stringValue to overwrite the randomly generated data-ouia-component-id.
            ouiaSafebooleantrueSet the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false.
            timeoutnumber | booleanfalseIf set to true, the timeout is 8000 milliseconds. If a number is provided, alert will be dismissed after that amount of time in milliseconds.
            timeoutAnimationnumber3000If the user hovers over the alert and `timeout` expires, this is how long to wait before finally dismissing the alert.
            toggleAriaLabelstring`${capitalize(variant)} alert details`Adds accessible text to the alert toggle.
            tooltipPosition| TooltipPosition | 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end'Position of the tooltip which is displayed if text is truncated.
            truncateTitlenumber0Truncate title to number of lines.
            variant'success' | 'danger' | 'warning' | 'info' | 'custom'AlertVariant.customAdds alert variant styles.
            variantLabelstring`${capitalize(variant)} alert:`Variant label text for screen readers.

            AlertGroup

            *required
            NameTypeDefaultDescription
            appendToHTMLElement | (() => HTMLElement)Determine where the alert is appended to
            aria-labelstringAdds an accessible label to the alert group.
            childrenReact.ReactNodeAlerts to be rendered in the AlertGroup
            classNamestringAdditional classes added to the AlertGroup
            isLiveRegionbooleanTurns the container into a live region so that changes to content within the AlertGroup, such as appending an Alert, are reliably announced to assistive technology.
            isToastbooleanToast notifications are positioned at the top right corner of the viewport
            onOverflowClick() => voidFunction to call if user clicks on overflow message
            overflowMessagestringCustom text to show for the overflow message

            AlertActionCloseButton

            Renders a close button for a dismissable alert when this sub-component is passed into the alert's actionClose property.
            *required
            NameTypeDefaultDescription
            aria-labelstring''Accessible label for the close button
            classNamestringAdditional classes added to the alert action close button.
            onClose() => void() => undefined as anyA callback for when the close button is clicked.
            variantLabelstringVariant Label for the close button.
            Renders buttons styled as links beneath the alert title and description when this sub-component is passed into the alert's actionLinks property.
            *required
            NameTypeDefaultDescription
            childrenReact.ReactNodeContent rendered inside the alert action link. Interactive content such as anchor elements should not be passed in.
            classNamestring''Additional classes added to the alert action link.

            CSS variables

            Prefixed with 'pf-v5-c-alert'

            Expand or collapse columnSelectorVariableValue
            .pf-v5-c-alert--pf-v5-global--Color--100
            #151515
            .pf-v5-c-alert--pf-v5-global--Color--200
            #6a6e73
            .pf-v5-c-alert--pf-v5-global--BorderColor--100
            #d2d2d2
            .pf-v5-c-alert--pf-v5-global--primary-color--100
            #06c
            .pf-v5-c-alert--pf-v5-global--link--Color
            #06c
            .pf-v5-c-alert--pf-v5-global--link--Color--hover
            #004080
            .pf-v5-c-alert--pf-v5-global--BackgroundColor--100
            #fff
            .pf-v5-c-alert--pf-v5-global--icon--Color--light
            #6a6e73
            .pf-v5-c-alert--pf-v5-global--icon--Color--dark
            #151515
            .pf-v5-c-alert--pf-v5-c-alert--BoxShadow
            0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08)
            .pf-v5-c-alert--pf-v5-c-alert--BackgroundColor
            #fff
            .pf-v5-c-alert--pf-v5-c-alert--GridTemplateColumns
            max-content 1fr max-content
            .pf-v5-c-alert--pf-v5-c-alert--GridTemplateAreas
            "icon title action" ". description description" ". actiongroup actiongroup"
            .pf-v5-c-alert--pf-v5-c-alert--BorderTopWidth
            2px
            .pf-v5-c-alert--pf-v5-c-alert--BorderTopColor
            #d2d2d2
            .pf-v5-c-alert--pf-v5-c-alert--PaddingTop
            1rem
            .pf-v5-c-alert--pf-v5-c-alert--PaddingRight
            1rem
            .pf-v5-c-alert--pf-v5-c-alert--PaddingBottom
            1rem
            .pf-v5-c-alert--pf-v5-c-alert--PaddingLeft
            1rem
            .pf-v5-c-alert--pf-v5-c-alert__FontSize
            0.875rem
            .pf-v5-c-alert--pf-v5-c-alert__toggle--MarginTop
            calc(-1 * 0.375rem - 0.0625rem)
            .pf-v5-c-alert--pf-v5-c-alert__toggle--MarginBottom
            calc(-1 * 0.375rem)
            .pf-v5-c-alert--pf-v5-c-alert__toggle--MarginLeft
            calc(-1 * 1rem)
            .pf-v5-c-alert--pf-v5-c-alert__toggle-icon--Rotate
            0
            .pf-v5-c-alert--pf-v5-c-alert__toggle-icon--Transition
            all 250ms cubic-bezier(.42, 0, .58, 1)
            .pf-v5-c-alert--pf-v5-c-alert__icon--Color
            #151515
            .pf-v5-c-alert--pf-v5-c-alert__icon--MarginTop
            0.0625rem
            .pf-v5-c-alert--pf-v5-c-alert__icon--MarginRight
            0.5rem
            .pf-v5-c-alert--pf-v5-c-alert__icon--FontSize
            1rem
            .pf-v5-c-alert--pf-v5-c-alert__title--FontWeight
            700
            .pf-v5-c-alert--pf-v5-c-alert__title--Color
            #151515
            .pf-v5-c-alert--pf-v5-c-alert__title--max-lines
            1
            .pf-v5-c-alert--pf-v5-c-alert__action--MarginTop
            calc(0.375rem * -1)
            .pf-v5-c-alert--pf-v5-c-alert__action--MarginBottom
            calc(0.375rem * -1)
            .pf-v5-c-alert--pf-v5-c-alert__action--TranslateY
            0.125rem
            .pf-v5-c-alert--pf-v5-c-alert__action--MarginRight
            calc(0.5rem * -1)
            .pf-v5-c-alert--pf-v5-c-alert__description--PaddingTop
            0.25rem
            .pf-v5-c-alert--pf-v5-c-alert__action-group--PaddingTop-base
            0.25rem
            .pf-v5-c-alert--pf-v5-c-alert__action-group--PaddingTop
            0.25rem
            .pf-v5-c-alert--pf-v5-c-alert__description--action-group--PaddingTop-base
            1rem
            .pf-v5-c-alert--pf-v5-c-alert__description--action-group--PaddingTop
            1rem
            .pf-v5-c-alert--pf-v5-c-alert__action-group__c-button--not-last-child--MarginRight
            1.5rem
            .pf-v5-c-alert--pf-v5-c-alert--m-custom--BorderTopColor
            #009596
            .pf-v5-c-alert--pf-v5-c-alert--m-custom__icon--Color
            #009596
            .pf-v5-c-alert--pf-v5-c-alert--m-custom__title--Color
            #003737
            .pf-v5-c-alert--pf-v5-c-alert--m-success--BorderTopColor
            #3e8635
            .pf-v5-c-alert--pf-v5-c-alert--m-success__icon--Color
            #3e8635
            .pf-v5-c-alert--pf-v5-c-alert--m-success__title--Color
            #1e4f18
            .pf-v5-c-alert--pf-v5-c-alert--m-danger--BorderTopColor
            #c9190b
            .pf-v5-c-alert--pf-v5-c-alert--m-danger__icon--Color
            #c9190b
            .pf-v5-c-alert--pf-v5-c-alert--m-danger__title--Color
            #a30000
            .pf-v5-c-alert--pf-v5-c-alert--m-warning--BorderTopColor
            #f0ab00
            .pf-v5-c-alert--pf-v5-c-alert--m-warning__icon--Color
            #f0ab00
            .pf-v5-c-alert--pf-v5-c-alert--m-warning__title--Color
            #795600
            .pf-v5-c-alert--pf-v5-c-alert--m-info--BorderTopColor
            #2b9af3
            .pf-v5-c-alert--pf-v5-c-alert--m-info__icon--Color
            #2b9af3
            .pf-v5-c-alert--pf-v5-c-alert--m-info__title--Color
            #002952
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--BoxShadow
            none
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-custom--BackgroundColor
            #f2f9f9
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-success--BackgroundColor
            #f3faf2
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-danger--BackgroundColor
            #faeae8
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-warning--BackgroundColor
            #fdf7e7
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-info--BackgroundColor
            #e7f1fa
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-plain--BorderTopWidth
            0
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-plain--BackgroundColor
            transparent
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-plain--PaddingTop
            0
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-plain--PaddingRight
            0
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-plain--PaddingBottom
            0
            .pf-v5-c-alert--pf-v5-c-alert--m-inline--m-plain--PaddingLeft
            0
            .pf-v5-c-alert--pf-v5-c-alert--m-expandable--GridTemplateColumns
            auto max-content 1fr max-content
            .pf-v5-c-alert--pf-v5-c-alert--m-expandable--GridTemplateAreas
            "toggle icon title action" ". . description description" ". . actiongroup actiongroup"
            .pf-v5-c-alert--pf-v5-c-alert--m-expandable__description--action-group--PaddingTop
            0.25rem
            .pf-v5-c-alert--pf-v5-c-alert--m-expanded__toggle-icon--Rotate
            90deg
            .pf-v5-c-alert--pf-v5-c-alert--m-expanded__description--action-group--PaddingTop
            1rem
            .pf-v5-c-alert.pf-m-custom--pf-v5-c-alert--BorderTopColor
            #009596
            .pf-v5-c-alert.pf-m-custom--pf-v5-c-alert__icon--Color
            #009596
            .pf-v5-c-alert.pf-m-custom--pf-v5-c-alert__title--Color
            #003737
            .pf-v5-c-alert.pf-m-custom--pf-v5-c-alert--m-inline--BackgroundColor
            #f2f9f9
            .pf-v5-c-alert.pf-m-success--pf-v5-c-alert--BorderTopColor
            #3e8635
            .pf-v5-c-alert.pf-m-success--pf-v5-c-alert__icon--Color
            #3e8635
            .pf-v5-c-alert.pf-m-success--pf-v5-c-alert__title--Color
            #1e4f18
            .pf-v5-c-alert.pf-m-success--pf-v5-c-alert--m-inline--BackgroundColor
            #f3faf2
            .pf-v5-c-alert.pf-m-danger--pf-v5-c-alert--BorderTopColor
            #c9190b
            .pf-v5-c-alert.pf-m-danger--pf-v5-c-alert__icon--Color
            #c9190b
            .pf-v5-c-alert.pf-m-danger--pf-v5-c-alert__title--Color
            #a30000
            .pf-v5-c-alert.pf-m-danger--pf-v5-c-alert--m-inline--BackgroundColor
            #faeae8
            .pf-v5-c-alert.pf-m-warning--pf-v5-c-alert--BorderTopColor
            #f0ab00
            .pf-v5-c-alert.pf-m-warning--pf-v5-c-alert__icon--Color
            #f0ab00
            .pf-v5-c-alert.pf-m-warning--pf-v5-c-alert__title--Color
            #795600
            .pf-v5-c-alert.pf-m-warning--pf-v5-c-alert--m-inline--BackgroundColor
            #fdf7e7
            .pf-v5-c-alert.pf-m-info--pf-v5-c-alert--BorderTopColor
            #2b9af3
            .pf-v5-c-alert.pf-m-info--pf-v5-c-alert__icon--Color
            #2b9af3
            .pf-v5-c-alert.pf-m-info--pf-v5-c-alert__title--Color
            #002952
            .pf-v5-c-alert.pf-m-info--pf-v5-c-alert--m-inline--BackgroundColor
            #e7f1fa
            .pf-v5-c-alert.pf-m-inline--pf-v5-c-alert--BoxShadow
            none
            .pf-v5-c-alert.pf-m-inline--pf-v5-c-alert--BackgroundColor
            .pf-v5-c-alert.pf-m-plain--pf-v5-c-alert--BorderTopWidth
            0
            .pf-v5-c-alert.pf-m-plain--pf-v5-c-alert--BackgroundColor
            transparent
            .pf-v5-c-alert.pf-m-plain--pf-v5-c-alert--PaddingTop
            0
            .pf-v5-c-alert.pf-m-plain--pf-v5-c-alert--PaddingRight
            0
            .pf-v5-c-alert.pf-m-plain--pf-v5-c-alert--PaddingBottom
            0
            .pf-v5-c-alert.pf-m-plain--pf-v5-c-alert--PaddingLeft
            0
            .pf-v5-c-alert.pf-m-expandable--pf-v5-c-alert--GridTemplateColumns
            auto max-content 1fr max-content
            .pf-v5-c-alert.pf-m-expandable--pf-v5-c-alert--GridTemplateAreas
            "toggle icon title action" ". . description description" ". . actiongroup actiongroup"
            .pf-v5-c-alert.pf-m-expandable--pf-v5-c-alert__description--action-group--PaddingTop
            0.25rem
            .pf-v5-c-alert.pf-m-expanded--pf-v5-c-alert__toggle-icon--Rotate
            90deg
            .pf-v5-c-alert.pf-m-expanded--pf-v5-c-alert__description--action-group--PaddingTop
            1rem
            .pf-v5-c-alert__description + .pf-v5-c-alert__action-group--pf-v5-c-alert__action-group--PaddingTop
            1rem
            .pf-v5-c-alert__action > .pf-v5-c-button--pf-v5-c-button--LineHeight
            1
            .pf-v5-c-alert__action-group > .pf-v5-c-button--pf-v5-c-button--m-link--m-inline--hover--TextDecoration
            none

            Prefixed with 'pf-v5-c-alert-group'

            Expand or collapse columnSelectorVariableValue
            .pf-v5-c-alert-group--pf-v5-c-alert-group__item--MarginTop
            0.5rem
            .pf-v5-c-alert-group--pf-v5-c-alert-group--m-toast--Top
            3rem
            .pf-v5-c-alert-group--pf-v5-c-alert-group--m-toast--Right
            2rem
            .pf-v5-c-alert-group--pf-v5-c-alert-group--m-toast--MaxWidth
            37.5rem
            .pf-v5-c-alert-group--pf-v5-c-alert-group--m-toast--ZIndex
            600
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--BorderWidth
            0
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--PaddingTop
            1.5rem
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--PaddingRight
            1rem
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--PaddingBottom
            1.5rem
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--PaddingLeft
            1rem
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--Color
            #06c
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--BoxShadow
            0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08)
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--BackgroundColor
            #fff
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--hover--Color
            #004080
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--hover--BoxShadow
            0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08), 0 0.75rem 0.75rem -0.5rem rgba(3, 3, 3, 0.18)
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--focus--Color
            #004080
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--focus--BoxShadow
            0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08), 0 0.75rem 0.75rem -0.5rem rgba(3, 3, 3, 0.18)
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--active--Color
            #004080
            .pf-v5-c-alert-group--pf-v5-c-alert-group__overflow-button--active--BoxShadow
            0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08), 0 0.75rem 0.75rem -0.5rem rgba(3, 3, 3, 0.18)
            .pf-v5-c-alert-group__overflow-button:hover--pf-v5-c-alert-group__overflow-button--Color
            #004080
            .pf-v5-c-alert-group__overflow-button:hover--pf-v5-c-alert-group__overflow-button--BoxShadow
            0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08), 0 0.75rem 0.75rem -0.5rem rgba(3, 3, 3, 0.18)
            .pf-v5-c-alert-group__overflow-button:focus--pf-v5-c-alert-group__overflow-button--Color
            #004080
            .pf-v5-c-alert-group__overflow-button:focus--pf-v5-c-alert-group__overflow-button--BoxShadow
            0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08), 0 0.75rem 0.75rem -0.5rem rgba(3, 3, 3, 0.18)
            .pf-v5-c-alert-group__overflow-button:active--pf-v5-c-alert-group__overflow-button--Color
            #004080
            .pf-v5-c-alert-group__overflow-button:active--pf-v5-c-alert-group__overflow-button--BoxShadow
            0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08), 0 0.75rem 0.75rem -0.5rem rgba(3, 3, 3, 0.18)

            View source on GitHub