The Status component for Retool Apps
A content area to display a status indicator.
Settings
Status includes the following configurable options when building apps in the IDE.
DataHeightAlignShow on desktopShow on mobileOptionsMaintain space when hiddenMarginAlways show in edit modeStylesValue |
Properties
All properties for Status with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
colorByIndex
A list of colors for each item, by index.
fallbackTooltip
The tooltip text to display for each item.
heightType
Whether the height automatically resizes to fit content or is a fixed size.
Values
fixed | Fixed height. |
auto | Expand to fit content. |
horizontalAlign
The horizontal alignment of the contents.
Values
left | Left alignment. |
center | Center alignment. |
right | Right alignment. |
stretched | Justified alignment |
iconByIndex
A list of icons for each item, by index.
Values
You can select an icon or dynamically set one with a valid icon key.
iconPosition
The position of the icon relative to the label.
id
The unique identifier.