Component - State hoisting pattern
This UI component demonstrates the state hoisting pattern in Android Kotlin using Jetpack Compose. State hoisting means moving the state up to a parent component so that it can control and share the state, while the child component only displays UI and triggers events.