Option to flatten layouts into a static format at runtime (to reduce file size)

Layouts are fantastic for recreating web-like designs in Rive. They make aligning elements much easier by letting you use rules instead of eyeballing everything.

But sometimes my goal is simply to create a static layout where responsiveness isn’t needed. In those cases, layouts add unnecessary weight: the exported Rive file becomes quite large, consuming more resources than needed.

It would be great to have an option to “flatten” layouts into a static format at export/runtime. This way, when we intentionally don’t need responsiveness, we could drastically reduce file size and optimize performance while still enjoying the convenience of layouts during design.

This option would let us keep building with layouts, without bloating the file, and only flatten them at render time.