Dashboard cell

A dashboard metric cell with configurable layout and caption.

A dashboard metric cell with configurable layout and caption.

Public API

  • FDashboardCell
  • FDashboardCellLayout
  • FDashboardCellCaption

Example

FDashboardCell(
    label: .string("Revenue"),
    value: .decimal(4280, format: .twoDecimals),
    bottomCaption: .plain(.string("+12%"), color: .primaryGreen),
    layout: .oppositeCorners
)

Source

This reference follows Sources/FreakUI/Components/DataDisplay/FDashboardCell.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.