# Centering in Compose

DevFeed: [Centering in Compose](<https://devfeed.tech/articles/centering-in-compose-30524.md>)

Original publisher: [Read original article](<https://blog.zachklipp.com/centering-in-compose/>)

Author: Zach Klippenstein

Published: 2024-11-22T00:44:18Z

Content type: tutorial

Language: en

Sources: [Zach Klippenstein's Blog](<https://devfeed.tech/sources/zach-klippenstein-s-blog.md>)

Topics: [Compose](<https://devfeed.tech/topics/compose.md>), [Code](<https://devfeed.tech/topics/code.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [android](<https://devfeed.tech/tags/android.md>), [article](<https://devfeed.tech/tags/article.md>), [compose](<https://devfeed.tech/tags/compose.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [layout](<https://devfeed.tech/tags/layout.md>)

## AI overview

This tutorial explains how centering works in Jetpack Compose by introducing its constraint-based layout system. It describes centering as positioning a child in the middle of its parent and connects that concept to Compose APIs and layout modifiers.

## Source excerpt

Let's talk about centering things. There is no Modifier.center() in Compose, nor is there a Center composable, and I think the reason for that is because once you understand Compose's layout system you'll find those concepts redundant. In this article I'm