Size sets DI options, therefore it only works for static values like tuiForm="m" . If you need dynamic binding for the size, you would have to set it for buttons, segmented control and header manually as well.
Using ElasticContainer to animate dynamic content
Using multiple different components inside a big form.
Using multiple forms in several steps. See Slides for animating similar scenario.