VVibeFlui

Dashboard Config

Type: FluiKitDashboardConfig.

Properties

PropertyTypeRequiredDescription
enabledbooleanNoEnables dashboard rendering.
titlestringNoDashboard title.
descriptionstringNoDashboard description.
cardsFluiKitDashboardCardConfig[]NoDashboard cards.
gridFluiKitGridConfigNoCard grid config.
rendererstringNoCustom dashboard renderer key.
classNamestringNoDashboard class name.

Card properties

PropertyTypeRequiredDescription
keystringYesCard key.
labelstringNoCard label.
valueFromstringNoData path for card value.
rendererstringNoCustom card renderer key.
endpointFluiKitEndpointItemNoEndpoint for card value.
format"number" | "currency" | "percent" | "text" | "custom"NoValue format.
iconstringNoIconify icon.
classNamestringNoCard class name.

Nothing renders if enabled is false, or if there are no cards and no renderer.

Example

TS
dashboard: {
  enabled: true,
  cards: [
    { key: "totalUsers", label: "Users", valueFrom: "summary.totalUsers", format: "number" },
    { key: "activeUsers", label: "Active", valueFrom: "summary.activeUsers", format: "number" }
  ]
}