sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Type alias KpiCardStyleOptions Beta

KpiCardStyleOptions: object

Configuration that defines styling of the KPI card container.

Type declaration

backgroundColor

backgroundColor?: string

Card background color. Text and sparkline switch to white for contrast on dark backgrounds.


cornerRadius

cornerRadius?: number

Corner radius of the card in pixels.

Default Value

8

showBorder

showBorder?: boolean

Boolean flag that defines whether the card border is shown.

Default Value

false

textAlign

textAlign?: "center" | "left" | "right"

Horizontal alignment of the card text.

Default Value

'left'
Last Updated: