Determines the standalone image's aspect ratio.
You can specify the following aspect ratios:
21:9
16:9
4:3
1:1
3:4
9:16
9:21
The object-position
of an image and the object-fit
also affect how much and which part of the image is displayed. See the image
interactive demo for examples.
image {
url ("[#{value(this.images[0].url)}]")
aspect-ratio (16:9)
object-fit (Contain)
}
You can find design specifications for this component in the Components Spec download under Design Resources.
value optional | A value that matches one of the valid enumerated options of its parent key |
Copyright 2025 Samsung All rights reserved