Components/Object Status
fd-object-status · 12 examples from SAP's documentation · Back to the gallery
About
Object Status is a short text that represents the semantic status of an object. It has a semantic color and an optional icon. Typically, the object status is used in the dynamic page header and as a status attribute of a line item in a table.
Primary
Object Status can display the semantic status of an object: negative (class: \
Icon
Object status icon only
Text
Object status text only
IconAndText
Object status icon and text
GenericIndicationColors
Object Status with Generic Indication Colors
ClickableObjectStatus
If the object status is used as a link, a hover effect is shown on non-touch devices. If the object status is shown using a combination of icon and text, there is no hover effect for the icon. If Object Status has to be clicked/tabbed by the user add the \
Regular State
Down State
Visited State
LargeObjectStatus
Inverted
Inverted Object Status(optional inverted visualization) determines whether the background color reflects the set state instead of the control's text. Use the inverted object status if the information is crucial for the user’s actions and needs to stand out visually. Inverted Object Status is achieved by adding the \
Large Inverted Object Status
Inverted Negative Object Status Invalid Entry Inverted Warning Object Status Warning issued Inverted Success Object Status Entry successfully validated Inverted informative Object Status Informative entry Inverted Neutral Object Status Negative Object Status Invalid Entry Critical Object Status Warning issued Positive Object Status Entry successfully validated Informative Object Status Informative entry Neutral Object StatusInvertedStates
Regular
Down
Regular, Focus
InvertedIndication
Inverted indication colors
Clickable Inverted Object Status (Regular)
Clickable Inverted Object Status (Hover)
Clickable Inverted Object Status (Active/Down)
Clickable Inverted Object Status (Focus)
InvertedIndicationSecondary
Secondary Set of Inverted indication colors
Clickable Inverted Object Status (Regular)
Clickable Inverted Object Status (Hover)
Clickable Inverted Object Status (Active/Down)
Clickable Inverted Object Status (Focus)
Object Status with single line text with ellipsis
By default, Object Status text goes on multiple lines based on the max width that is set for the element. For a single line text with ellipsis add the fd-object-status--truncate modifier class to the fd-object-status base class.