# How I Finally Memorized Modifier Ordering in Compose

DevFeed: [How I Finally Memorized Modifier Ordering in Compose](<https://devfeed.tech/articles/how-i-finally-memorized-modifier-ordering-in-compose-27080.md>)

Original publisher: [Read original article](<https://zsmb.co/remembering-modifier-order/>)

Author: Márton Braun

Published: 2024-06-04T09:00:00Z

Content type: tutorial

Language: en

Sources: [zsmb.co](<https://devfeed.tech/sources/zsmb-co.md>)

Topics: [ordering](<https://devfeed.tech/topics/ordering.md>), [Compose](<https://devfeed.tech/topics/compose.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [ui](<https://devfeed.tech/topics/ui.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [compose](<https://devfeed.tech/tags/compose.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [marton-braun](<https://devfeed.tech/tags/marton-braun.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [ui](<https://devfeed.tech/tags/ui.md>), [zsmb](<https://devfeed.tech/tags/zsmb.md>), [zsmb-co](<https://devfeed.tech/tags/zsmb-co.md>), [zsmb13](<https://devfeed.tech/tags/zsmb13.md>), [zsmbco](<https://devfeed.tech/tags/zsmbco.md>)

## AI overview

A tutorial explains how to remember modifier ordering in Jetpack Compose. It connects component APIs that accept a Modifier parameter with the way modifiers are applied, concluding that modifiers are applied last-to-first and inside-to-outside.

## Source excerpt

For the longest time, I proudly had no idea of how Modifier ordering works, and would just guess and then guess again when something didn't look quite right. Here's how I finally ended up remembering how the ordering works.