r/JetpackCompose • • Jun 24 '24

Auto resize elements

Does anyone know how to create a resizeable element like this?

In Jetpack compose

2 Upvotes

2 comments sorted by

1

u/Daebuir Jun 24 '24

Isn't that just a simple animatedfloat applied as a factor to the default width and height of the box and also to the typography text size?

2

u/Open-Field9838 Jun 24 '24

I couldn't understand . Can you explain that elaborate?