Page Status
Overview
Page Status creates a flag/banner on the right side of the page denoting the status of the page or document the author is viewing.

Installation
npm install @patternfly/pfe-page-status
Usage
<pfe-page-status status="critical">
Previewing
</pfe-page-status>
Slots
- Default Slot
-
Content in the default slot will be used as the text for the banner on the right side of the page.
Attributes
status
-
Controls the background color of the banner.
Values
- default
- moderate
- warning
- important
- critical
- success
- info
- normal
- accent
- complement
- DOM Property
status
- Type
-
PageStatus
- Default
-
'default'
DOM Properties
NoneMethods
NoneEvents
NoneCSS Custom Properties
CSS Property | Description | Default |
---|---|---|
--pfe-theme--color--feedback--default |
Color for default state |
— |
--pfe-theme--color--feedback--moderate |
Color for |
— |
--pfe-theme--color--feedback--important |
Color for |
— |
--pfe-theme--color--feedback--critical |
Color for |
— |
--pfe-theme--color--feedback--success |
Color for |
— |
--pfe-theme--color--feedback--info |
Color for |
— |
--pfe-theme--color--ui-accent |
Color for |
— |
--pfe-theme--color--ui-accent |
Color for |
— |
--pfe-theme--color--ui-base |
Color for |
— |
CSS Shadow Parts
None