There are 3 default classes comes with this utility, aspect-auto, aspect-square and aspect-video. You can also pass arbitrary values like aspect-[9/16] and will work fine. Use these classes to set desired ratio of an element.

1. aspect-square

aspect-square exmaple
2. aspect-video

3. aspect-[arbitrary value]

aspect-[arbitrary value] example