Skip to main content
.minimumScaleFactor(factor: number): Component;

Parameters

factor
number
The minimum scale factor (0 to 1). A value of 0.5 means text can shrink to 50% of its original size. Text will scale down to this factor before truncating.

Support

Usage

Basic usage

Text("This text can scale down to fit")
    .frame({ width: 100 })
    .minimumScaleFactor(0.7) // Can shrink to 70%