Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

useScaledSize

useScaledSize(originalSize: number, scalingProps: ScalingProps): number

Hook to retrieve the UI scaled size value based on original size and scaling properties.

Parameters

originalSize

number

The original size to scale (in DIP if PLATFORM_DENSITY_INDEPENDENT_PIXEL is enabled, or in physical pixels otherwise)

scalingProps

ScalingProps

Properties that define how scaling should be applied

Returns

number

The scaled size


Last updated: Jul 22, 2026