--- title: "Booleans" slug: "booleans-filter" updated: 2026-10-30T17:48:53Z published: 2026-10-30T17:48:53Z canonical: "learn.servitly.com/booleans-filter" --- > ## Documentation Index > Fetch the complete documentation index at: https://learn.servitly.com/llms.txt > Use this file to discover all available pages before exploring further. # Booleans Displays boolean values in different ways, for example, through colored labels or icons. ![Booleans](https://components-manager.servitly.com/components/Booleans_1/IMAGES/_screenshot?owner=AG_Servitly) # How it works This filter and its variants can be applied to *metrics* and *properties* template elements. Depending on the type, the filter input value is automatically converted to a boolean and then displayed according to the selected variant options. | **Value Type** | **Expected True Values** | **Expected False Values** | | --- | --- | --- | | *BOOLEAN* | true | false | | *INTEGER* | 1 | 0 | | *STRING* | "true", "1", "yes" | "false", "0", "no" | The string case is ignored (e.g., "True" -> true). Null or empty values are always handled as false. Without this filter, the values of metrics/properties are printed as they are according to the underlying value type, for instance: ![](https://cdn.document360.io/6759e9c9-3ce3-49df-965a-7231d2d9a10a/Images/Documentation/noFilter(1).png?sv=2026-02-06&spr=https&st=2026-11-10T16%3A51%3A30Z&se=2026-11-10T17%3A51%3A30Z&sr=c&sp=r&sig=uWUkrdasJMT3UUgM0wkfK3pcSWFmnStswmxlIJAK6IE%3D) ## Component Reference Here is a comprehensive list of all the elements and properties that can be used to configure the component. | *Green/Gray Led* | Converts the boolean value into a GREEN or GRAY led. **Name**: *greenGrayLed* **Input Types**: *BOOLEAN, STRING, INTEGER* **Output Type**: *HTML* ![](https://components-manager.servitly.com/components/Booleans_1/IMAGES/variants/greenGrayLed/_image?owner=AG_Servitly) | | --- | --- | | *Green/Red Circle* | Converts the boolean value into a GREEN or RED circle. **Name**: *greenRedCircle* **Input Types**: *BOOLEAN, STRING, INTEGER* **Output Type**: *HTML* ![](https://components-manager.servitly.com/components/Booleans_1/IMAGES/variants/greenRedCircle/_image?owner=AG_Servitly) | | *OK/Error* | Converts the boolean value into a colored Ok or ERROR text. **Name**: *okError* **Input Types**: *BOOLEAN, STRING, INTEGER* **Output Type**: *HTML* ![](https://components-manager.servitly.com/components/Booleans_1/IMAGES/variants/okError/_image?owner=AG_Servitly) | | *OK/Error Badge* | Converts the boolean value into a colored OK or ERROR badge. **Name**: *okErrorBadge* **Input Types**: *BOOLEAN, STRING, INTEGER* **Output Type**: *HTML* ![](https://components-manager.servitly.com/components/Booleans_1/IMAGES/variants/okErrorBadge/_image?owner=AG_Servitly) | | *On/Off Icon* | Converts the boolean value into a POWER-ON or POWER-OFF icon with status text. **Name**: *onOffIcon* **Input Types**: *BOOLEAN, STRING, INTEGER* **Output Type**: *HTML* ![](https://components-manager.servitly.com/components/Booleans_1/IMAGES/variants/onOffIcon/_image?owner=AG_Servitly) | | *Red/Gray Circle* | Converts the boolean value into a RED or GRAY circle. **Name**: *redGrayCircle* **Input Types**: *BOOLEAN, STRING, INTEGER* **Output Type**: *HTML* ![](https://components-manager.servitly.com/components/Booleans_1/IMAGES/variants/redGrayCircle/_image?owner=AG_Servitly) | | *Red/Gray Led* | Converts the boolean value into a RED or GRAY led. **Name**: *redGrayLed* **Input Types**: *BOOLEAN, STRING, INTEGER* **Output Type**: *HTML* ![](https://components-manager.servitly.com/components/Booleans_1/IMAGES/variants/redGrayLed/_image?owner=AG_Servitly) | | *Yes/No* | Converts the boolean value into a colored YES or NO text. **Name**: *yesNo* **Input Types**: *BOOLEAN, STRING, INTEGER* **Output Type**: *HTML* ![](https://components-manager.servitly.com/components/Booleans_1/IMAGES/variants/yesNo/_image?owner=AG_Servitly) | | *Yes/No Badge* | Converts the boolean value into a colored YES or NO badge. **Name**: *yesNoBadge* **Input Types**: *BOOLEAN, STRING, INTEGER* **Output Type**: *HTML* ![](https://components-manager.servitly.com/components/Booleans_1/IMAGES/variants/yesNoBadge/_image?owner=AG_Servitly) |