Skip to main content

frontend-widget-api-reference

Widgets

List of implemented widgets:

BarChart

BarChart express quantities through a bar's length, using a common baseline. Bar charts series should contain a data property containing an array of values

Props

PropertyRequiredDescriptionType
datayesArray of grouped data entries for the bar chartarray
data[].labelnoLabel for the group/categorystring
data[].barsyesBars within the group, each representing a valuearray
data[].bars[].valueyesLabel or identifier for the barstring
data[].bars[].percentageyesHeight of the bar as a percentage (0–100)integer
data[].bars[].colornoColor of the barblue | darkBlue | orange | gray | red | green | violet

Examples


Button

Button represents an interactive component which, when clicked, triggers a specific business logic defined by its clickActionId

Props

PropertyRequiredDescriptionType
actionsyesthe actions of the widgetobject
actions.restnorest api call actions triggered by the widgetarray
actions.rest[].payloadKeynoDEPRECATED key used to nest the payload in the request bodystring
actions.rest[].idyesunique identifier for the actionstring
actions.rest[].resourceRefIdyesthe identifier of the k8s custom resource that should be representedstring
actions.rest[].requireConfirmationnowhether user confirmation is required before triggering the actionboolean
actions.rest[].errorMessagenoa message that will be displayed inside a toast in case of errorstring
actions.rest[].successMessagenoa message that will be displayed inside a toast in case of successstring
actions.rest[].onSuccessNavigateTonourl to navigate to after successful executionstring
actions.rest[].onEventNavigateTonoconditional navigation triggered by a specific eventobject
actions.rest[].onEventNavigateTo.eventReasonyesidentifier of the awaited event reasonstring
actions.rest[].onEventNavigateTo.urlyesurl to navigate to when the event is receivedstring
actions.rest[].onEventNavigateTo.timeoutnothe timeout in seconds to wait for the eventinteger
actions.rest[].onEventNavigateTo.reloadRoutesnoboolean
actions.rest[].onEventNavigateTo.loadingMessagenomessage to display while waiting for the eventstring
actions.rest[].typeyestype of action to executerest
actions.rest[].headersyesarray of headers as strings, format 'key: value'array
actions.rest[].payloadnostatic payload sent with the requestobject
actions.rest[].payloadToOverridenolist of payload fields to override dynamicallyarray
actions.rest[].payloadToOverride[].nameyesname of the field to overridestring
actions.rest[].payloadToOverride[].valueyesvalue to use for overriding the fieldstring
actions.rest[].loadingnoobject
actions.rest[].loading.displayyesboolean
actions.navigatenoclient-side navigation actionsarray
actions.navigate[].idyesunique identifier for the actionstring
actions.navigate[].loadingnoobject
actions.navigate[].loading.displayyesboolean
actions.navigate[].pathnothe identifier of the route to navigate tostring
actions.navigate[].resourceRefIdnothe identifier of the k8s custom resource that should be representedstring
actions.navigate[].requireConfirmationnowhether user confirmation is required before navigatingboolean
actions.navigate[].typeyestype of navigation actionnavigate
actions.openDrawernoactions to open side drawer componentsarray
actions.openDrawer[].idyesunique identifier for the drawer actionstring
actions.openDrawer[].typeyestype of drawer actionopenDrawer
actions.openDrawer[].resourceRefIdyesthe identifier of the k8s custom resource that should be representedstring
actions.openDrawer[].requireConfirmationnowhether user confirmation is required before openingboolean
actions.openDrawer[].sizenodrawer size to be displayeddefault | large
actions.openDrawer[].titlenotitle shown in the drawer headerstring
actions.openDrawer[].loadingnoobject
actions.openDrawer[].loading.displayyesboolean
actions.openModalnoactions to open modal dialog componentsarray
actions.openModal[].idyesunique identifier for the modal actionstring
actions.openModal[].typeyestype of modal actionopenModal
actions.openModal[].resourceRefIdyesthe identifier of the k8s custom resource that should be representedstring
actions.openModal[].requireConfirmationnowhether user confirmation is required before openingboolean
actions.openModal[].titlenotitle shown in the modal headerstring
actions.openModal[].loadingnoobject
actions.openModal[].loading.displayyesboolean
actions.openModal[].customWidthnothe custom width of the value, which should be used by setting the 'custom' value inside the 'size' propertystring
actions.openModal[].sizenosets the Modal size, 'default' is 520px, 'large' is 80% of the screen width, 'fullscreen' is 100% of the screen width, 'custom' should be used with the 'customWidth' propertydefault | large | fullscreen | custom
backgroundColornothe background color of the buttonblue | darkBlue | orange | gray | red | green | violet
colornoDEPRECATED the color of the buttondefault | primary | danger | blue | purple | cyan | green | magenta | pink | red | orange | yellow | volcano | geekblue | lime | gold
labelnothe label of the buttonstring
iconnothe icon of the button (font awesome icon name eg: fa-inbox)string
shapenothe shape of the buttondefault | circle | round
sizenothe size of the buttonsmall | middle | large
typenothe visual style of the buttondefault | text | link | primary | dashed
clickActionIdyesthe id of the action to be executed when the button is clickedstring

Examples


ButtonGroup

name of the k8s Custom Resource

Props

PropertyRequiredDescriptionType
alignmentnothe alignment of the element inside the ButtonGroup. Default is 'left'center | left | right
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray
gapnothe spacing between the items of the ButtonGroup. Default is 'small'extra-small | small | medium | large
itemsyesthe items of the ButtonGrouparray
items[].resourceRefIdyesstring

Examples


Column

Column is a layout component that arranges its children in a vertical stack, aligning them one above the other with spacing between them

Props

PropertyRequiredDescriptionType
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray
itemsyesthe items of the columnarray
items[].resourceRefIdyesthe identifier of the k8s Custom Resource that should be represented, usually a widgetstring
sizenothe number of cells that the column will occupy, from 0 (not displayed) to 24 (occupies all space)integer

Examples


DataGrid

DataGrid is a layout component that renders its children as a responsive list or grid

Props

PropertyRequiredDescriptionType
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray
asGridnoto show children as list or gridboolean
gridnoThe grid type of list. You can set grid to something like {gutter: 16, column: 4} or specify the integer for columns based on their size, e.g. sm, md, etc. to make it responsive.object
grid.gutternoThe spacing between gridinteger
grid.columnnoThe column of gridinteger
grid.xsno<576px column of gridinteger
grid.smno≥576px column of gridinteger
grid.mdno≥768px column of gridinteger
grid.lgno≥992px column of gridinteger
grid.xlno≥1200px column of gridinteger
grid.xxlno≥1600px column of gridinteger
itemsyesarray
items[].resourceRefIdyesstring
prefixnoit's the filters prefix to get right valuesstring

Examples


EventList

EventList renders data coming from a Kubernetes cluster or Server Sent Events associated to a specific endpoint and topic

Props

PropertyRequiredDescriptionType
eventsyeslist of events received from a k8s cluster or server sent eventarray
events[].iconnoname of the icon associated with the event (font awesome icon name eg: fa-inbox)string
events[].reasonyesreason or cause of the eventstring
events[].messageyesdescriptive message of the eventstring
events[].typeyestype of the event, e.g., normal or warningNormal | Warning
events[].countnonumber of times the event has occurredinteger
events[].actionnoaction associated with the event, if anystring
events[].reportingComponentnocomponent that reported the eventstring
events[].reportingInstancenoinstance of the component that reported the eventstring
events[].firstTimestampnotimestamp of the first occurrence of the eventstring
events[].lastTimestampnotimestamp of the last occurrence of the eventstring
events[].eventTimenospecific timestamp of the eventstring
events[].metadatayesmetadata of the event such as name, namespace, and uidobject
events[].metadata.nameyesunique name of the eventstring
events[].metadata.namespaceyesnamespace the event belongs tostring
events[].metadata.uidyesunique identifier of the eventstring
events[].metadata.creationTimestampyescreation date and time of the eventstring
events[].involvedObjectyesobject involved in the event with key detailsobject
events[].involvedObject.apiVersionnoapi version of the involved objectstring
events[].involvedObject.kindyesresource type involvedstring
events[].involvedObject.nameyesname of the involved objectstring
events[].involvedObject.namespaceyesnamespace of the involved objectstring
events[].involvedObject.uidyesunique identifier of the involved objectstring
events[].sourceyesinformation about the source generating the eventobject
events[].source.componentnocomponent source of the eventstring
events[].source.hostnohost where the event originatedstring
prefixnofilter prefix used to filter datastring
sseEndpointnoendpoint url for server sent events connectionstring
sseTopicnosubscription topic for server sent eventsstring

Examples


Filters

Props

PropertyRequiredDescriptionType
prefixyesthe prefix to share filters values to other widgetsstring
fieldsyesit defines the filters as fields of a Formarray
fields[].labelyesthe label of the fieldstring
fields[].nameyesthe name of the filter field, it must to be identical to the widget prop name to filter or data in datasetarray
fields[].descriptionnotext to show as tooltipstring
fields[].typeyesit's the filter field type, to render input, select, radio buttons, date picker or daterange pickerstring | boolean | number | date | daterange
fields[].optionsnothey're the options for select or radio, the type must be 'string'array

Examples

For additional information about the Filters configuration, please visit this page.


FlowChart

FlowChart represents a Kubernetes composition as a directed graph. Each node represents a resource, and edges indicate parent-child relationships

Props

PropertyRequiredDescriptionType
datanolist of kubernetes resources and their relationships to render as nodes in the flow chartarray
data[].dateyesoptional date value to be shown in the node, formatted as ISO 8601 stringstring
data[].iconnocustom icon displayed for the resource nodeobject
data[].icon.namenoFontAwesome icon class name (e.g. 'fa-check')string
data[].icon.colornoCSS color value for the icon backgroundblue | darkBlue | orange | gray | red | green | violet
data[].icon.messagenooptional tooltip message displayed on hoverstring
data[].statusIconnocustom status icon displayed alongside resource infoobject
data[].statusIcon.namenoFontAwesome icon class name representing statusstring
data[].statusIcon.colornoCSS color value for the status icon backgroundblue | darkBlue | orange | gray | red | green | violet
data[].statusIcon.messagenooptional tooltip message describing the statusstring
data[].kindyeskubernetes resource type (e.g. Deployment, Service)string
data[].nameyesname of the resourcestring
data[].namespaceyesnamespace in which the resource is definedstring
data[].parentRefsnolist of parent resources used to define graph relationshipsarray
data[].parentRefs[].datenooptional date value to be shown in the node, formatted as ISO 8601 stringstring
data[].parentRefs[].iconnocustom icon for the parent resourceobject
data[].parentRefs[].icon.namenoFontAwesome icon class namestring
data[].parentRefs[].icon.colornoCSS color value for the icon backgroundblue | darkBlue | orange | gray | red | green | violet
data[].parentRefs[].icon.messagenooptional tooltip messagestring
data[].parentRefs[].statusIconnocustom status icon for the parent resourceobject
data[].parentRefs[].statusIcon.namenoFontAwesome icon class namestring
data[].parentRefs[].statusIcon.colornoCSS color value for the status icon backgroundblue | darkBlue | orange | gray | red | green | violet
data[].parentRefs[].statusIcon.messagenooptional tooltip messagestring
data[].parentRefs[].kindnoresource type of the parentstring
data[].parentRefs[].namenoname of the parent resourcestring
data[].parentRefs[].namespacenonamespace of the parent resourcestring
data[].parentRefs[].parentRefsnonested parent references for recursive relationshipsarray
data[].parentRefs[].resourceVersionnointernal version string of the parent resourcestring
data[].parentRefs[].uidnounique identifier of the parent resourcestring
data[].parentRefs[].versionnoapi version of the parent resourcestring
data[].resourceVersionyesinternal version string of the resourcestring
data[].uidyesunique identifier of the resourcestring
data[].versionyesapi version of the resourcestring

Examples


Form

name of the k8s Custom Resource

Props

PropertyRequiredDescriptionType
actionsyesthe actions of the widgetobject
actions.restnorest api call actions triggered by the widgetarray
actions.rest[].payloadKeynoDEPRECATED key used to nest the payload in the request bodystring
actions.rest[].headersyesarray of headers as strings, format 'key: value'array
actions.rest[].idyesunique identifier for the actionstring
actions.rest[].resourceRefIdyesthe identifier of the k8s custom resource that should be representedstring
actions.rest[].requireConfirmationnowhether user confirmation is required before triggering the actionboolean
actions.rest[].onSuccessNavigateTonourl to navigate to after successful executionstring
actions.rest[].errorMessagenoa message that will be displayed inside a toast in case of errorstring
actions.rest[].successMessagenoa message that will be displayed inside a toast in case of successstring
actions.rest[].onEventNavigateTonoconditional navigation triggered by a specific eventobject
actions.rest[].onEventNavigateTo.eventReasonyesidentifier of the awaited event reasonstring
actions.rest[].onEventNavigateTo.urlyesurl to navigate to when the event is receivedstring
actions.rest[].onEventNavigateTo.timeoutnothe timeout in seconds to wait for the eventinteger
actions.rest[].onEventNavigateTo.reloadRoutesnoboolean
actions.rest[].onEventNavigateTo.loadingMessagenomessage to display while waiting for the eventstring
actions.rest[].typeyestype of action to executerest
actions.rest[].payloadnostatic payload sent with the requestobject
actions.rest[].payloadToOverridenolist of payload fields to override dynamicallyarray
actions.rest[].payloadToOverride[].nameyesname of the field to overridestring
actions.rest[].payloadToOverride[].valueyesvalue to use for overriding the fieldstring
actions.rest[].loadingnoobject
actions.rest[].loading.displayyesboolean
actions.navigatenoclient-side navigation actionsarray
actions.navigate[].idyesunique identifier for the actionstring
actions.navigate[].loadingnoobject
actions.navigate[].loading.displayyesboolean
actions.navigate[].pathnothe identifier of the route to navigate tostring
actions.navigate[].resourceRefIdnothe identifier of the k8s custom resource that should be representedstring
actions.navigate[].requireConfirmationnowhether user confirmation is required before navigatingboolean
actions.navigate[].typeyestype of navigation actionnavigate
actions.openDrawernoactions to open side drawer componentsarray
actions.openDrawer[].idyesunique identifier for the drawer actionstring
actions.openDrawer[].typeyestype of drawer actionopenDrawer
actions.openDrawer[].resourceRefIdyesthe identifier of the k8s custom resource that should be representedstring
actions.openDrawer[].requireConfirmationnowhether user confirmation is required before openingboolean
actions.openDrawer[].sizenodrawer size to be displayeddefault | large
actions.openDrawer[].titlenotitle shown in the drawer headerstring
actions.openDrawer[].loadingnoobject
actions.openDrawer[].loading.displayyesboolean
actions.openModalnoactions to open modal dialog componentsarray
actions.openModal[].idyesunique identifier for the modal actionstring
actions.openModal[].typeyestype of modal actionopenModal
actions.openModal[].resourceRefIdyesthe identifier of the k8s custom resource that should be representedstring
actions.openModal[].requireConfirmationnowhether user confirmation is required before openingboolean
actions.openModal[].titlenotitle shown in the modal headerstring
actions.openModal[].loadingnoobject
actions.openModal[].loading.displayyesboolean
actions.openModal[].customWidthnothe custom width of the value, which should be used by setting the 'custom' value inside the 'size' propertystring
actions.openModal[].sizenosets the Modal size, 'default' is 520px, 'large' is 80% of the screen width, 'fullscreen' is 100% of the screen width, 'custom' should be used with the 'customWidth' propertydefault | large | fullscreen | custom
buttonConfignocustom labels and icons for form buttonsobject
buttonConfig.primarynoprimary button configurationobject
buttonConfig.primary.labelnotext label for primary buttonstring
buttonConfig.primary.iconnoicon name for primary buttonstring
buttonConfig.secondarynosecondary button configurationobject
buttonConfig.secondary.labelnotext label for secondary buttonstring
buttonConfig.secondary.iconnoicon name for secondary buttonstring
initialValuesnooptional object with initial values for form fields. Keys should match form field names (supports nested objects). These values override schema defaults.object
schemanothe schema of the form as an objectobject
stringSchemanothe schema of the form as a stringstring
submitActionIdyesthe id of the action to be called when the form is submittedstring
fieldDescriptionnothe displaying mode of the field description, default is inline but it could also be displayed as a tooltiptooltip | inline
autocompletenoConfiguration for the Autocomplete form fields. The field options could be configured using enum values coming from the schema or via an API call made using a RESTAction which sould be defined below. The RESTActions shuold contain a status field, which is an array of object with the { label, value } format.array
autocomplete[].extranoparameter to be added to the RESTAction callobject
autocomplete[].extra.keyyesthe key of the additional parameterstring
autocomplete[].nameyesthe name of the autocomplete fieldstring
autocomplete[].resourceRefIdnothe identifier of the RESTAction that should be called to retrieve autocomplete datastring
dependenciesnoConfiguration for the form fields who are dependent from other form fields. The field options are set via an API call made using a RESTAction which sould be defined below. The RESTActions shuold contain a status field, which is an array of object with the { label, value } format.array
dependencies[].dependsOnyesthe field on which this field depends onobject
dependencies[].dependsOn.nameyesthe name of the field on which this field depends onstring
dependencies[].extrayesparameter to be added to the RESTAction callobject
dependencies[].extra.keyyesthe key of the additional parameterstring
dependencies[].nameyesthe name of the autocomplete fieldstring
dependencies[].resourceRefIdyesthe identifier of the RESTAction that should be called to retrieve dependency datastring
objectFieldsnoconfiguration for object fields in the formarray
objectFields[].pathyesthe path of the object fieldstring
objectFields[].displayFieldyesthe field to display in the objects liststring

Examples

For additional information about the autocomplete and dependencies properties configuration, please visit this page.

For additional information about the initialValues property configuration, please visit this page.


LineChart

LineChart displays a customizable line chart based on time series or numerical data. It supports multiple lines with colored coordinates and axis labels, typically used to visualize metrics from Kubernetes resources

Props

PropertyRequiredDescriptionType
linesyeslist of data series to be rendered as individual linesarray
lines[].namenolabel of the line displayed in the legendstring
lines[].colornocolor used to render the lineblue | darkBlue | orange | gray | red | green | violet
lines[].coordsnodata points that define the linearray
lines[].coords[].xAxisyesvalue on the x axisstring
lines[].coords[].yAxisyesvalue on the y axisstring
xAxisNamenolabel for the x axisstring
yAxisNamenolabel for the y axisstring

Examples


Markdown

Markdown receives markdown in string format and renders it gracefully

Props

PropertyRequiredDescriptionType
allowCopynodisplays a copy button on top of the widget to allow copy to clipboardboolean
allowDownloadnodisplays a download button on top of the widget to allow download of the textboolean
downloadFileExtensionnoif 'allowDownload' is set, this property allows to set an extension for the downloaded file. Default is .txtstring
markdownyesmarkdown string to be displayedstring

Examples


NavMenu is a container for NavMenuItem widgets, which are used to setup navigation inside the application

Props

PropertyRequiredDescriptionType
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray
itemsyeslist of navigation entries each pointing to a k8s custom resourcearray
items[].resourceRefIdyesthe identifier of the k8s custom resource that should be represented, usually a NavMenuItemstring

NavMenuItem represents a single item in the navigation menu and links to a specific resource and route in the application

Props

PropertyRequiredDescriptionType
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray
iconyesname of the icon to display alongside the label (font awesome icon name eg: fa-inbox)string
labelyestext displayed as the menu item's labelstring
ordernoa weight to be used to sort the items in the menuinteger
pathyesroute path to navigate to when the menu item is clickedstring
resourceRefIdyesthe identifier of the k8s custom resource that should be represented, usually a widgetstring

Page

Page is a wrapper component, placed at the top of the component tree, that wraps and renders all nested components.

Props

PropertyRequiredDescriptionType
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray
itemsyeslist of resources to be rendered within the routearray
items[].resourceRefIdyesthe identifier of the k8s custom resource that should be rendered, usually a widgetstring
titlenotitle of the page shown in the browser tabstring

Panel

Panel is a container to display information

Props

PropertyRequiredDescriptionType
actionsyesthe actions of the widgetobject
actions.restnorest api call actions triggered by the widgetarray
actions.rest[].payloadKeynoDEPRECATED key used to nest the payload in the request bodystring
actions.rest[].headersyesarray of headers as strings, format 'key: value'array
actions.rest[].idyesunique identifier for the actionstring
actions.rest[].resourceRefIdyesthe identifier of the k8s custom resource that should be representedstring
actions.rest[].requireConfirmationnowhether user confirmation is required before triggering the actionboolean
actions.rest[].onSuccessNavigateTonourl to navigate to after successful executionstring
actions.rest[].errorMessagenoa message that will be displayed inside a toast in case of errorstring
actions.rest[].successMessagenoa message that will be displayed inside a toast in case of successstring
actions.rest[].onEventNavigateTonoconditional navigation triggered by a specific eventobject
actions.rest[].onEventNavigateTo.eventReasonyesidentifier of the awaited event reasonstring
actions.rest[].onEventNavigateTo.urlyesurl to navigate to when the event is receivedstring
actions.rest[].onEventNavigateTo.timeoutnothe timeout in seconds to wait for the eventinteger
actions.rest[].onEventNavigateTo.reloadRoutesnoboolean
actions.rest[].onEventNavigateTo.loadingMessagenomessage to display while waiting for the eventstring
actions.rest[].typeyestype of action to executerest
actions.rest[].payloadnostatic payload sent with the requestobject
actions.rest[].payloadToOverridenolist of payload fields to override dynamicallyarray
actions.rest[].payloadToOverride[].nameyesname of the field to overridestring
actions.rest[].payloadToOverride[].valueyesvalue to use for overriding the fieldstring
actions.rest[].loadingnoobject
actions.rest[].loading.displayyesboolean
actions.navigatenoclient-side navigation actionsarray
actions.navigate[].idyesunique identifier for the actionstring
actions.navigate[].loadingnoobject
actions.navigate[].loading.displayyesboolean
actions.navigate[].pathnothe identifier of the route to navigate tostring
actions.navigate[].resourceRefIdnothe identifier of the k8s custom resource that should be representedstring
actions.navigate[].requireConfirmationnowhether user confirmation is required before navigatingboolean
actions.navigate[].typeyestype of navigation actionnavigate
actions.openDrawernoactions to open side drawer componentsarray
actions.openDrawer[].idyesunique identifier for the drawer actionstring
actions.openDrawer[].typeyestype of drawer actionopenDrawer
actions.openDrawer[].resourceRefIdyesthe identifier of the k8s custom resource that should be representedstring
actions.openDrawer[].requireConfirmationnowhether user confirmation is required before openingboolean
actions.openDrawer[].sizenodrawer size to be displayeddefault | large
actions.openDrawer[].titlenotitle shown in the drawer headerstring
actions.openDrawer[].loadingnoobject
actions.openDrawer[].loading.displayyesboolean
actions.openModalnoactions to open modal dialog componentsarray
actions.openModal[].idyesunique identifier for the modal actionstring
actions.openModal[].typeyestype of modal actionopenModal
actions.openModal[].resourceRefIdyesthe identifier of the k8s custom resource that should be representedstring
actions.openModal[].requireConfirmationnowhether user confirmation is required before openingboolean
actions.openModal[].titlenotitle shown in the modal headerstring
actions.openModal[].loadingnoobject
actions.openModal[].loading.displayyesboolean
actions.openModal[].customWidthnothe custom width of the value, which should be used by setting the 'custom' value inside the 'size' propertystring
actions.openModal[].sizenosets the Modal size, 'default' is 520px, 'large' is 80% of the screen width, 'fullscreen' is 100% of the screen width, 'custom' should be used with the 'customWidth' propertydefault | large | fullscreen | custom
clickActionIdnothe id of the action to be executed when the panel is clickedstring
footernofooter section of the panel containing additional itemsarray
footer[].resourceRefIdyesthe identifier of the k8s custom resource that should be represented, usually a widgetstring
headerLeftnooptional text to be displayed under the title, on the left side of the Panelstring
headerRightnooptional text to be displayed under the title, on the right side of the Panelstring
iconnoicon displayed in the panel headerobject
icon.nameyesname of the icon to display (font awesome icon name eg: fa-inbox)string
icon.colornocolor of the iconstring
itemsyeslist of resource references to display as main content in the panelarray
items[].resourceRefIdyesthe identifier of the k8s custom resource that should be represented, usually a widgetstring
tagsnolist of string tags to be displayed in the footerarray
titlenotext to be displayed as the panel titlestring
tooltipnooptional tooltip text shown on the top right side of the card to provide additional contextstring

Examples


Paragraph

Paragraph is a simple component used to display a block of text

Props

PropertyRequiredDescriptionType
textyesthe content of the paragraph to be displayedstring

Examples


PieChart

PieChart is a visual component used to display categorical data as segments of a pie chart

Props

PropertyRequiredDescriptionType
titleyestitle displayed above the chartstring
descriptionnosupplementary text displayed below or near the titlestring
seriesnodata to be visualized in the pie chartobject
series.totalyessum of all data values, used to calculate segment sizesinteger
series.datayesindividual segments of the pie chartarray
series.data[].coloryescolor used to represent the segmentblue | darkBlue | orange | gray | red | green | violet
series.data[].valueyesnumeric value for the segmentinteger
series.data[].labelyeslabel for the segmentstring

Examples


Route

Route is a configuration to map a path to show in the frontend URL to a resource, it doesn't render anything by itself

Props

PropertyRequiredDescriptionType
pathyesthe url path to that loads the resourcestring
resourceRefIdyesthe id matching the resource in the resourcesRefs array, must of kind pagestring

RoutesLoader

RoutesLoader loads the Route widgets it doesn't render anything by itself

Props

PropertyRequiredDescriptionType
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray

Row

Row is a layout component that arranges its children horizontally with spacing between them

Props

PropertyRequiredDescriptionType
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray
alignmentnothe alignment of the element inside the row. Default is 'center'bottom | center | top
itemsyesthe items of the rowarray
items[].resourceRefIdyesstring
items[].sizenothe number of cells that the item will occupy, from 0 (not displayed) to 24 (occupies all space)integer
items[].alignmentnothe alignment of the element inside the cell. Default is 'left'center | left | right

Examples


Table

Table displays structured data with customizable columns and pagination

Props

PropertyRequiredDescriptionType
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray
columnsyesconfiguration of the table's columnsarray
columns[].colornothe color of the value (or the icon) to be representedblue | darkBlue | orange | gray | red | green | violet
columns[].titleyescolumn header labelstring
columns[].valueKeyyeskey used to extract the value from row datastring
datayesArray of table rowsarray
pageSizenonumber of rows displayed per pageinteger
prefixnoit's the filters prefix to get right valuesstring

Examples


TabList

TabList display a set of tab items for navigation or content grouping

Props

PropertyRequiredDescriptionType
allowedResourcesyesthe list of resources that are allowed to be children of this widget or referenced by itarray
itemsyesthe items of the tab listarray
items[].labelnotext displayed on the tabstring
items[].resourceRefIdyesthe identifier of the k8s custom resource represented by the tab contentstring
items[].titlenooptional title to be displayed inside the tabstring

Examples


YamlViewer

YamlViewer receives a JSON string as input and renders its equivalent YAML representation for display.

Props

PropertyRequiredDescriptionType
jsonyesjson string to be converted and displayed as yamlstring

Examples