patternfly-elements
patternfly-elements copied to clipboard
[1:1]: pf-alert
Component name: pf-alert
An alert is used to display notifications or messages to users. It provides time-sensitive information about events that occur while an application is running and is typically used for important or critical notifications that require user attention.
Design specification
The design specifications should match with https://v4-archive.patternfly.org/v4/components/alert/design-guidelines.
Accessibility
The component should implement all the accessibility features as https://v4-archive.patternfly.org/v4/components/alert.
we have prior art in rh-alert that we might be able to rely on here
Currently a work in progress, have the following added:
pf-alert with similar markdown / api to rh-alert, so far:
variants:
custom, info, success, warning, danger
attributes:
inline, dismissable, timeout, truncated
@brianferry would you please open a draft pr and link to this issue?