Compose modifier and layout style Core principle A composable that emits layout is a leaf the parent places — the parent decides position, size, alignment, padding. The composable's job is structure (what's inside), not placement (where it goes). Three rules follow: - Declare a parameter and apply it to the root , so the parent can actually do its job. Hardcoding on a composable's root takes that decision away from every future caller. - Construct modifier chains as one fluent expression , not stepwise reassignments. Both compile to the same thing, but the chain reads as intent in one pass. -…