## Actions

|---|---|
| Scope: **Any** | `<T : `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?> `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[anchoredDraggable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).anchoredDraggable(androidx.compose.foundation.gestures.AnchoredDraggableState,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.OverscrollEffect,androidx.compose.foundation.gestures.FlingBehavior))`(` ` state: `[AnchoredDraggableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/AnchoredDraggableState)`<T>,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?` ` )` Enable drag gestures between a set of predefined values. |
| Scope: **Any** | `<T : `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?> `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[anchoredDraggable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).anchoredDraggable(androidx.compose.foundation.gestures.AnchoredDraggableState,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.OverscrollEffect,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior))~~`(` ` state: `[AnchoredDraggableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/AnchoredDraggableState)`<T>,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?,` ` startDragImmediately: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?` ` )` **This function is deprecated.** startDragImmediately has been removed without replacement. |
| Scope: **Any** | `<T : `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?> `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[anchoredDraggable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).anchoredDraggable(androidx.compose.foundation.gestures.AnchoredDraggableState,kotlin.Boolean,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.OverscrollEffect,androidx.compose.foundation.gestures.FlingBehavior))`(` ` state: `[AnchoredDraggableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/AnchoredDraggableState)`<T>,` ` reverseDirection: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?` ` )` Enable drag gestures between a set of predefined values. |
| Scope: **Any** | `<T : `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?> `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[anchoredDraggable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).anchoredDraggable(androidx.compose.foundation.gestures.AnchoredDraggableState,kotlin.Boolean,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.OverscrollEffect,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior))~~`(` ` state: `[AnchoredDraggableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/AnchoredDraggableState)`<T>,` ` reverseDirection: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?,` ` startDragImmediately: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?` ` )` **This function is deprecated.** startDragImmediately has been removed without replacement. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[clickable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).clickable(kotlin.Boolean,kotlin.String,androidx.compose.ui.semantics.Role,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0))`(` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` onClickLabel: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to receive clicks via input or accessibility "click" event. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[clickable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).clickable(androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.Indication,kotlin.Boolean,kotlin.String,androidx.compose.ui.semantics.Role,kotlin.Function0))`(` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` indication: `[Indication](https://developer.android.com/reference/kotlin/androidx/compose/foundation/Indication)`?,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` onClickLabel: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to receive clicks via input or accessibility "click" event. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[combinedClickable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).combinedClickable(kotlin.Boolean,kotlin.String,androidx.compose.ui.semantics.Role,kotlin.String,kotlin.Function0,kotlin.Function0,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0))`(` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` onClickLabel: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` onLongClickLabel: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?,` ` onLongClick: (() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)?,` ` onDoubleClick: (() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)?,` ` hapticFeedbackEnabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to receive clicks, double clicks and long clicks via input or accessibility "click" event. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[combinedClickable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).combinedClickable(androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.Indication,kotlin.Boolean,kotlin.String,androidx.compose.ui.semantics.Role,kotlin.String,kotlin.Function0,kotlin.Function0,kotlin.Boolean,kotlin.Function0))`(` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` indication: `[Indication](https://developer.android.com/reference/kotlin/androidx/compose/foundation/Indication)`?,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` onClickLabel: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` onLongClickLabel: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?,` ` onLongClick: (() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)?,` ` onDoubleClick: (() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)?,` ` hapticFeedbackEnabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to receive clicks, double clicks and long clicks via input or accessibility "click" event. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[draggable2D](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).draggable2D(androidx.compose.foundation.gestures.Draggable2DState,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Boolean,kotlin.Function1,kotlin.Function1,kotlin.Boolean))`(` ` state: `[Draggable2DState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Draggable2DState)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` startDragImmediately: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` onDragStarted: (startedPosition: `[Offset](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` onDragStopped: (velocity: `[Velocity](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Velocity)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` reverseDirection: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Configure touch dragging for the UI element in both orientations. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[draggable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).draggable(androidx.compose.foundation.gestures.DraggableState,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Boolean,kotlin.coroutines.SuspendFunction2,kotlin.coroutines.SuspendFunction2,kotlin.Boolean))`(` ` state: `[DraggableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/DraggableState)`,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` startDragImmediately: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` onDragStarted: suspend `[CoroutineScope](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope/index.html)`.(startedPosition: `[Offset](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` onDragStopped: suspend `[CoroutineScope](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope/index.html)`.(velocity: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` reverseDirection: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Configure touch dragging for the UI element in a single [Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[selectableGroup](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).selectableGroup())`()` Use this modifier to group a list of [selectable](https://developer.android.com/reference/kotlin/androidx/compose/foundation/selection/package-summary#(androidx.compose.ui.Modifier).selectable(kotlin.Boolean,kotlin.Boolean,androidx.compose.ui.semantics.Role,kotlin.Function0)) items like Tabs or RadioButtons together for accessibility purpose. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[selectable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).selectable(kotlin.Boolean,kotlin.Boolean,androidx.compose.ui.semantics.Role,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0))`(` ` selected: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to be selectable, usually as a part of a mutually exclusive group, where only one item can be selected at any point in time. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[selectable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).selectable(kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.Indication,kotlin.Boolean,androidx.compose.ui.semantics.Role,kotlin.Function0))`(` ` selected: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` indication: `[Indication](https://developer.android.com/reference/kotlin/androidx/compose/foundation/Indication)`?,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to be selectable, usually as a part of a mutually exclusive group, where only one item can be selected at any point in time. |
| Scope: **Any** | `@`[ExperimentalMaterialApi](https://developer.android.com/reference/kotlin/androidx/compose/material/ExperimentalMaterialApi) ` <T : `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?> `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[swipeable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).swipeable(androidx.compose.material.SwipeableState,kotlin.collections.Map,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function2,androidx.compose.material.ResistanceConfig,androidx.compose.ui.unit.Dp))~~`(` ` state: `[SwipeableState](https://developer.android.com/reference/kotlin/androidx/compose/material/SwipeableState)`<T>,` ` anchors: `[Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`, T>,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` reverseDirection: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` thresholds: (from, to) `->` `[ThresholdConfig](https://developer.android.com/reference/kotlin/androidx/compose/material/ThresholdConfig)`,` ` resistance: `[ResistanceConfig](https://developer.android.com/reference/kotlin/androidx/compose/material/ResistanceConfig)`?,` ` velocityThreshold: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp) ` )` **This function is deprecated.** Material's Swipeable has been replaced by Foundation's AnchoredDraggable APIs. |
| Scope: **Any** | `@`[ExperimentalWearMaterialApi](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/ExperimentalWearMaterialApi) ` <T : `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?> `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[swipeable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).swipeable(androidx.wear.compose.material.SwipeableState,kotlin.collections.Map,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function2,androidx.wear.compose.material.ResistanceConfig,androidx.compose.ui.unit.Dp))`(` ` state: `[SwipeableState](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SwipeableState)`<T>,` ` anchors: `[Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`, T>,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` reverseDirection: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` thresholds: (from, to) `->` `[ThresholdConfig](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/ThresholdConfig)`,` ` resistance: `[ResistanceConfig](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/ResistanceConfig)`?,` ` velocityThreshold: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp) ` )` Enable swipe gestures between a set of predefined states. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[toggleable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).toggleable(kotlin.Boolean,kotlin.Boolean,androidx.compose.ui.semantics.Role,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function1))`(` ` value: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` onValueChange: (`[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to make it toggleable via input and accessibility events |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[toggleable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).toggleable(kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.Indication,kotlin.Boolean,androidx.compose.ui.semantics.Role,kotlin.Function1))`(` ` value: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` indication: `[Indication](https://developer.android.com/reference/kotlin/androidx/compose/foundation/Indication)`?,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` onValueChange: (`[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to make it toggleable via input and accessibility events. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[triStateToggleable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).triStateToggleable(androidx.compose.ui.state.ToggleableState,kotlin.Boolean,androidx.compose.ui.semantics.Role,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0))`(` ` state: `[ToggleableState](https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to make it toggleable via input and accessibility events with three states: On, Off and Indeterminate. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[triStateToggleable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).triStateToggleable(androidx.compose.ui.state.ToggleableState,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.Indication,kotlin.Boolean,androidx.compose.ui.semantics.Role,kotlin.Function0))`(` ` state: `[ToggleableState](https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` indication: `[Indication](https://developer.android.com/reference/kotlin/androidx/compose/foundation/Indication)`?,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` role: `[Role](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role)`?,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Configure component to make it toggleable via input and accessibility events with three states: On, Off and Indeterminate. |
| Scope: ` `[PaneScaffoldScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[paneExpansionDraggable](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope#(androidx.compose.ui.Modifier).paneExpansionDraggable(androidx.compose.material3.adaptive.layout.PaneExpansionState,androidx.compose.ui.unit.Dp,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function1))`(` ` state: `[PaneExpansionState](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneExpansionState)`,` ` minTouchTargetSize: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`,` ` semanticsProperties: (`[SemanticsPropertyReceiver](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)?` ` )` The modifier that should be applied on a drag handle composable so the drag handle can be dragged and operate on the provided [PaneExpansionState](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneExpansionState) properly. |

## Alignment

|---|---|
| Scope: ` `[RowScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[align](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope#(androidx.compose.ui.Modifier).align(androidx.compose.ui.Alignment.Vertical))`(alignment: `[Alignment.Vertical](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment.Vertical)`)` Align the element vertically within the [Row](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#Row(androidx.compose.ui.Modifier,androidx.compose.foundation.layout.Arrangement.Horizontal,androidx.compose.ui.Alignment.Vertical,kotlin.Function1)). |
| Scope: ` `[RowScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[alignBy](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope#(androidx.compose.ui.Modifier).alignBy(kotlin.Function1))`(alignmentLineBlock: (`[Measured](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measured)`) `->` `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Position the element vertically such that the alignment line for the content as determined by [alignmentLineBlock](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope#(androidx.compose.ui.Modifier).alignBy(kotlin.Function1)) aligns with sibling elements also configured to `alignBy`. |
| Scope: ` `[RowScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[alignBy](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope#(androidx.compose.ui.Modifier).alignBy(androidx.compose.ui.layout.HorizontalAlignmentLine))`(alignmentLine: `[HorizontalAlignmentLine](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/HorizontalAlignmentLine)`)` Position the element vertically such that its [alignmentLine](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope#(androidx.compose.ui.Modifier).alignBy(androidx.compose.ui.layout.HorizontalAlignmentLine)) aligns with sibling elements also configured to `alignBy`. |
| Scope: ` `[RowScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[alignByBaseline](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope#(androidx.compose.ui.Modifier).alignByBaseline())`()` Position the element vertically such that its first baseline aligns with sibling elements also configured to `alignByBaseline` or `alignBy`. |
| Scope: ` `[ColumnScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[align](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope#(androidx.compose.ui.Modifier).align(androidx.compose.ui.Alignment.Horizontal))`(alignment: `[Alignment.Horizontal](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment.Horizontal)`)` Align the element horizontally within the [Column](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#Column(androidx.compose.ui.Modifier,androidx.compose.foundation.layout.Arrangement.Vertical,androidx.compose.ui.Alignment.Horizontal,kotlin.Function1)). |
| Scope: ` `[ColumnScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[alignBy](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope#(androidx.compose.ui.Modifier).alignBy(kotlin.Function1))`(alignmentLineBlock: (`[Measured](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measured)`) `->` `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Position the element horizontally such that the alignment line for the content as determined by [alignmentLineBlock](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope#(androidx.compose.ui.Modifier).alignBy(kotlin.Function1)) aligns with sibling elements also configured to [alignBy](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope#(androidx.compose.ui.Modifier).alignBy(androidx.compose.ui.layout.VerticalAlignmentLine)). |
| Scope: ` `[ColumnScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[alignBy](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope#(androidx.compose.ui.Modifier).alignBy(androidx.compose.ui.layout.VerticalAlignmentLine))`(alignmentLine: `[VerticalAlignmentLine](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/VerticalAlignmentLine)`)` Position the element horizontally such that its [alignmentLine](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope#(androidx.compose.ui.Modifier).alignBy(androidx.compose.ui.layout.VerticalAlignmentLine)) aligns with sibling elements also configured to [alignBy](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope#(androidx.compose.ui.Modifier).alignBy(androidx.compose.ui.layout.VerticalAlignmentLine)). |
| Scope: ` `[BoxScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/BoxScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[align](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/BoxScope#(androidx.compose.ui.Modifier).align(androidx.compose.ui.Alignment))`(alignment: `[Alignment](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment)`)` Pull the content element to a specific [Alignment](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment) within the [Box](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#Box(androidx.compose.ui.Modifier,androidx.compose.ui.Alignment,kotlin.Boolean,kotlin.Function1)). |

## Animation

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[animateBounds](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).animateBounds(androidx.compose.ui.layout.LookaheadScope,androidx.compose.ui.Modifier,androidx.compose.animation.BoundsTransform,kotlin.Boolean))`(` ` lookaheadScope: `[LookaheadScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LookaheadScope)`,` ` modifier: `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`,` ` boundsTransform: `[BoundsTransform](https://developer.android.com/reference/kotlin/androidx/compose/animation/BoundsTransform)`,` ` animateMotionFrameOfReference: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) to animate layout changes (position and/or size) that occur within a [LookaheadScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LookaheadScope). |
| Scope: **Any** | `@`[ExperimentalMaterial3ExpressiveApi](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExperimentalMaterial3ExpressiveApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[animateFloatingActionButton](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).animateFloatingActionButton(kotlin.Boolean,androidx.compose.ui.Alignment,kotlin.Float,androidx.compose.animation.core.AnimationSpec,androidx.compose.animation.core.AnimationSpec))`(` ` visible: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` alignment: `[Alignment](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment)`,` ` targetScale: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` scaleAnimationSpec: `[AnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>?,` ` alphaAnimationSpec: `[AnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>?` ` )` Apply this modifier to a [FloatingActionButton](https://developer.android.com/reference/kotlin/androidx/compose/material3/package-summary#FloatingActionButton(kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.material3.FloatingActionButtonElevation,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)) to show or hide it with an animation, typically based on the app's main content scrolling. |
| Scope: ` `[AnimatedVisibilityScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/AnimatedVisibilityScope) `open ` | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[animateEnterExit](https://developer.android.com/reference/kotlin/androidx/compose/animation/AnimatedVisibilityScope#(androidx.compose.ui.Modifier).animateEnterExit(androidx.compose.animation.EnterTransition,androidx.compose.animation.ExitTransition,kotlin.String))`(` ` enter: `[EnterTransition](https://developer.android.com/reference/kotlin/androidx/compose/animation/EnterTransition)`,` ` exit: `[ExitTransition](https://developer.android.com/reference/kotlin/androidx/compose/animation/ExitTransition)`,` ` label: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) ` )` [animateEnterExit](https://developer.android.com/reference/kotlin/androidx/compose/animation/AnimatedVisibilityScope#(androidx.compose.ui.Modifier).animateEnterExit(androidx.compose.animation.EnterTransition,androidx.compose.animation.ExitTransition,kotlin.String)) modifier can be used for any direct or indirect children of [AnimatedVisibility](https://developer.android.com/reference/kotlin/androidx/compose/animation/package-summary#AnimatedVisibility(kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.animation.EnterTransition,androidx.compose.animation.ExitTransition,kotlin.String,kotlin.Function1)) to create a different enter/exit animation than what's specified in [AnimatedVisibility](https://developer.android.com/reference/kotlin/androidx/compose/animation/package-summary#AnimatedVisibility(kotlin.Boolean,androidx.compose.ui.Modifier,androidx.compose.animation.EnterTransition,androidx.compose.animation.ExitTransition,kotlin.String,kotlin.Function1)). |
| Scope: ` `[LazyItemScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope) `open ` | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[animateItem](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope#(androidx.compose.ui.Modifier).animateItem(androidx.compose.animation.core.FiniteAnimationSpec,androidx.compose.animation.core.FiniteAnimationSpec,androidx.compose.animation.core.FiniteAnimationSpec))`(` ` fadeInSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>?,` ` placementSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[IntOffset](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntOffset)`>?,` ` fadeOutSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>?` ` )` This modifier animates the item appearance (fade in), disappearance (fade out) and placement changes (such as an item reordering). |
| Scope: ` `[LazyGridItemScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/grid/LazyGridItemScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[animateItem](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/grid/LazyGridItemScope#(androidx.compose.ui.Modifier).animateItem(androidx.compose.animation.core.FiniteAnimationSpec,androidx.compose.animation.core.FiniteAnimationSpec,androidx.compose.animation.core.FiniteAnimationSpec))`(` ` fadeInSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>?,` ` placementSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[IntOffset](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntOffset)`>?,` ` fadeOutSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>?` ` )` This modifier animates the item appearance (fade in), disappearance (fade out) and placement changes (such as an item reordering). |
| Scope: ` `[LazyStaggeredGridItemScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridItemScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[animateItem](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridItemScope#(androidx.compose.ui.Modifier).animateItem(androidx.compose.animation.core.FiniteAnimationSpec,androidx.compose.animation.core.FiniteAnimationSpec,androidx.compose.animation.core.FiniteAnimationSpec))`(` ` fadeInSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>?,` ` placementSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[IntOffset](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntOffset)`>?,` ` fadeOutSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>?` ` )` This modifier animates the item appearance (fade in), disappearance (fade out) and placement changes (such as an item reordering). |

## Border

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[border](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).border(androidx.compose.foundation.BorderStroke,androidx.compose.ui.graphics.Shape))`(border: `[BorderStroke](https://developer.android.com/reference/kotlin/androidx/compose/foundation/BorderStroke)`, shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`)` Modify element to add border with appearance specified with a [border](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).border(androidx.compose.foundation.BorderStroke,androidx.compose.ui.graphics.Shape)) and a [shape](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).border(androidx.compose.foundation.BorderStroke,androidx.compose.ui.graphics.Shape)) and clip it. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[border](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Brush,androidx.compose.ui.graphics.Shape))`(width: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, brush: `[Brush](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush)`, shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`)` Modify element to add border with appearance specified with a [width](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Brush,androidx.compose.ui.graphics.Shape)), a [brush](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Brush,androidx.compose.ui.graphics.Shape)) and a [shape](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Brush,androidx.compose.ui.graphics.Shape)) and clip it. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[border](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Shape))`(width: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, color: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`, shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`)` Modify element to add border with appearance specified with a [width](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Shape)), a [color](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Shape)) and a [shape](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Shape)) and clip it. |

## Drawing

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[alpha](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).alpha(kotlin.Float))`(alpha: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Draw content with modified alpha that may be less than 1. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[background](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).background(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Shape))`(color: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`, shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`)` Draws [shape](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).background(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Shape)) with a solid [color](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).background(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Shape)) behind the content. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[background](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).background(androidx.compose.ui.graphics.Brush,androidx.compose.ui.graphics.Shape,kotlin.Float))`(` ` brush: `[Brush](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush)`,` ` shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`,` ` alpha: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) ` )` Draws [shape](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).background(androidx.compose.ui.graphics.Brush,androidx.compose.ui.graphics.Shape,kotlin.Float)) with [brush](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).background(androidx.compose.ui.graphics.Brush,androidx.compose.ui.graphics.Shape,kotlin.Float)) behind the content. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[clip](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).clip(androidx.compose.ui.graphics.Shape))`(shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`)` Clip the content to [shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/package-summary#(androidx.compose.ui.Modifier).clip(androidx.compose.ui.graphics.Shape)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[clipToBounds](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).clipToBounds())`()` Clip the content to the bounds of a layer defined at this modifier. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[drawBehind](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).drawBehind(kotlin.Function1))`(onDraw: `[DrawScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Draw into a [Canvas](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Canvas) behind the modified content. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[drawWithCache](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).drawWithCache(kotlin.Function1))`(onBuildDrawCache: `[CacheDrawScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/CacheDrawScope)`.() `->` `[DrawResult](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/DrawResult)`)` Draw into a [DrawScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope) with content that is persisted across draw calls as long as the size of the drawing area is the same or any state objects that are read have not changed. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[drawWithContent](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).drawWithContent(kotlin.Function1))`(onDraw: `[ContentDrawScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/drawscope/ContentDrawScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Creates a [DrawModifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/DrawModifier) that allows the developer to draw before or after the layout's contents. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[indication](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).indication(androidx.compose.foundation.interaction.InteractionSource,androidx.compose.foundation.Indication))`(` ` interactionSource: `[InteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/InteractionSource)`,` ` indication: `[Indication](https://developer.android.com/reference/kotlin/androidx/compose/foundation/Indication)`?` ` )` Draws visual effects for this component when interactions occur. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[paint](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).paint(androidx.compose.ui.graphics.painter.Painter,kotlin.Boolean,androidx.compose.ui.Alignment,androidx.compose.ui.layout.ContentScale,kotlin.Float,androidx.compose.ui.graphics.ColorFilter))`(` ` painter: `[Painter](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/painter/Painter)`,` ` sizeToIntrinsics: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` alignment: `[Alignment](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment)`,` ` contentScale: `[ContentScale](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/ContentScale)`,` ` alpha: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` colorFilter: `[ColorFilter](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/ColorFilter)`?` ` )` Paint the content using [painter](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/package-summary#(androidx.compose.ui.Modifier).paint(androidx.compose.ui.graphics.painter.Painter,kotlin.Boolean,androidx.compose.ui.Alignment,androidx.compose.ui.layout.ContentScale,kotlin.Float,androidx.compose.ui.graphics.ColorFilter)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[dropShadow](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).dropShadow(androidx.compose.ui.graphics.Shape,kotlin.Function1))`(shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`, block: `[DropShadowScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/DropShadowScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Draws a drop shadow behind the rest of the content with the geometry specified by the given shape and the shadow properties defined the [DropShadowScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/DropShadowScope). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[dropShadow](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).dropShadow(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.shadow.Shadow))`(shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`, shadow: `[Shadow](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow)`)` Draws a drop shadow behind the rest of the content with the geometry specified by the given shape and the shadow properties defined by the [Shadow](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[innerShadow](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).innerShadow(androidx.compose.ui.graphics.Shape,kotlin.Function1))`(shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`, block: `[InnerShadowScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/InnerShadowScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Draws an inner shadow behind the rest of the content with the geometry specified by the given shape and the shadow properties defined the [InnerShadowScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/InnerShadowScope). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[innerShadow](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).innerShadow(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.shadow.Shadow))`(shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`, shadow: `[Shadow](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow)`)` Draws an inner shadow on top of the rest of the content with the geometry specified by the given shape and the shadow properties defined by the [Shadow](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[shadow](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).shadow(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Shape,kotlin.Boolean,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color))`(` ` elevation: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`,` ` clip: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` ambientColor: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`,` ` spotColor: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color) ` )` Creates a [graphicsLayer](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/package-summary#(androidx.compose.ui.Modifier).graphicsLayer(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.compose.ui.graphics.TransformOrigin,androidx.compose.ui.graphics.Shape,kotlin.Boolean)) that draws a shadow. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[safeDrawingPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).safeDrawingPadding())`()` Adds padding to accommodate the [safe drawing](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).safeDrawing()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[zIndex](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).zIndex(kotlin.Float))`(zIndex: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Creates a modifier that controls the drawing order for the children of the same layout parent. |

## Focus

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onFocusChanged](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onFocusChanged(kotlin.Function1))`(onFocusChanged: (`[FocusState](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusState)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Add this modifier to a component to observe focus state events. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onFocusEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onFocusEvent(kotlin.Function1))`(onFocusEvent: (`[FocusState](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusState)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Add this modifier to a component to observe focus state events. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[focusModifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusModifier())~~`()` **This function is deprecated.** Replaced by focusTarget |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[focusTarget](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusTarget())`()` Add this modifier to a component to make it focusable. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[focusOrder](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusOrder(kotlin.Function1))~~`(focusOrderReceiver: `[FocusOrder](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusOrder)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` **This function is deprecated.** Use focusProperties() instead |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[focusOrder](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusOrder(androidx.compose.ui.focus.FocusRequester))~~`(focusRequester: `[FocusRequester](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusRequester)`)` **This function is deprecated.** Use focusRequester() instead |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[focusOrder](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusOrder(androidx.compose.ui.focus.FocusRequester,kotlin.Function1))~~`(` ` focusRequester: `[FocusRequester](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusRequester)`,` ` focusOrderReceiver: `[FocusOrder](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusOrder)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` **This function is deprecated.** Use focusProperties() and focusRequester() instead |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[focusProperties](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusProperties(kotlin.Function1))`(scope: `[FocusProperties](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusProperties)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` This modifier allows you to specify properties that are accessible to [focusTarget](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/package-summary#(androidx.compose.ui.Modifier).focusTarget())s further down the modifier chain or on child layout nodes. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[focusRequester](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusRequester(androidx.compose.ui.focus.FocusRequester))`(focusRequester: `[FocusRequester](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusRequester)`)` Add this modifier to a component to request changes to focus. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[focusRestorer](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusRestorer(androidx.compose.ui.focus.FocusRequester))`(fallback: `[FocusRequester](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusRequester)`)` This modifier can be used to save and restore focus to a focus group. |
| Scope: **Any** | `@`[ExperimentalComposeUiApi](https://developer.android.com/reference/kotlin/androidx/compose/ui/ExperimentalComposeUiApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[focusRestorer](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusRestorer(kotlin.Function0))~~`(onRestoreFailed: (() `->` `[FocusRequester](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusRequester)`)?)` **This function is deprecated.** Use focusRestorer(FocusRequester) instead |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[focusGroup](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusGroup())`()` Creates a focus group or marks this component as a focus group. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[focusable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).focusable(kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource))`(` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?` ` )` Configure component to be focusable via focus system or accessibility "focus" event. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onFocusedBoundsChanged](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onFocusedBoundsChanged(kotlin.Function1))`(` ` onPositioned: (`[LayoutCoordinates](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutCoordinates)`?) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Calls [onPositioned](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).onFocusedBoundsChanged(kotlin.Function1)) whenever the bounds of the currently-focused area changes. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[hierarchicalFocusGroup](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).hierarchicalFocusGroup(kotlin.Boolean))`(active: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` [hierarchicalFocusGroup](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/package-summary#(androidx.compose.ui.Modifier).hierarchicalFocusGroup(kotlin.Boolean)) is used to annotate composables in an application, so we can keep track of what is the active part of the composition. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requestFocusOnHierarchyActive](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requestFocusOnHierarchyActive())`()` This Modifier is used in conjunction with [hierarchicalFocusGroup](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/package-summary#(androidx.compose.ui.Modifier).hierarchicalFocusGroup(kotlin.Boolean)) and will request focus on the following focusable element when needed (i.e. this needs to be before that element in the Modifier chain). |

## Graphics

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[graphicsLayer](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).graphicsLayer(kotlin.Function1))`(block: `[GraphicsLayerScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/GraphicsLayerScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` A [Modifier.Node](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.Node) that makes content draw into a draw layer. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[graphicsLayer](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).graphicsLayer(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,androidx.compose.ui.graphics.TransformOrigin,androidx.compose.ui.graphics.Shape,kotlin.Boolean,androidx.compose.ui.graphics.RenderEffect,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.CompositingStrategy,androidx.compose.ui.graphics.BlendMode,androidx.compose.ui.graphics.ColorFilter))`(` ` scaleX: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` scaleY: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` alpha: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` translationX: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` translationY: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` shadowElevation: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` rotationX: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` rotationY: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` rotationZ: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` cameraDistance: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` transformOrigin: `[TransformOrigin](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/TransformOrigin)`,` ` shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`,` ` clip: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` renderEffect: `[RenderEffect](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/RenderEffect)`?,` ` ambientShadowColor: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`,` ` spotShadowColor: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`,` ` compositingStrategy: `[CompositingStrategy](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/CompositingStrategy)`,` ` blendMode: `[BlendMode](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/BlendMode)`,` ` colorFilter: `[ColorFilter](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/ColorFilter)`?` ` )` A [Modifier.Element](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.Element) that makes content draw into a draw layer. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[toolingGraphicsLayer](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).toolingGraphicsLayer())`()` A [Modifier.Element](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.Element) that adds a draw layer such that tooling can identify an element in the drawn image. |

## Keyboard

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onKeyEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onKeyEvent(kotlin.Function1))`(onKeyEvent: (`[KeyEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/key/KeyEvent)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` Adding this [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) to the [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) parameter of a component will allow it to intercept hardware key events when it (or one of its children) is focused. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onPreviewKeyEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onPreviewKeyEvent(kotlin.Function1))`(onPreviewKeyEvent: (`[KeyEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/key/KeyEvent)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` Adding this [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) to the [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) parameter of a component will allow it to intercept hardware key events when it (or one of its children) is focused. |

## Layout

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[layoutId](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).layoutId(kotlin.String,kotlin.String))`(layoutId: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`, tag: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?)` Alternative to [androidx.compose.ui.layout.layoutId](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/package-summary#(androidx.compose.ui.Modifier).layoutId(kotlin.Any)) that enables the use of [tag](https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/package-summary#(androidx.compose.ui.Modifier).layoutId(kotlin.String,kotlin.String)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[layoutId](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).layoutId(kotlin.Any))`(layoutId: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`)` Tag the element with [layoutId](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/package-summary#(androidx.compose.ui.Modifier).layoutId(kotlin.Any)) to identify the element within its parent. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[layout](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).layout(kotlin.Function3))`(measure: `[MeasureScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/MeasureScope)`.(`[Measurable](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measurable)`, `[Constraints](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints)`) `->` `[MeasureResult](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/MeasureResult)`)` Creates a [LayoutModifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutModifier) that allows changing how the wrapped element is measured and laid out. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onGloballyPositioned](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onGloballyPositioned(kotlin.Function1))`(` ` onGloballyPositioned: (`[LayoutCoordinates](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutCoordinates)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Invoke [onGloballyPositioned](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/package-summary#(androidx.compose.ui.Modifier).onGloballyPositioned(kotlin.Function1)) with the [LayoutCoordinates](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutCoordinates) of the element when the global position of the content may have changed. |

## Padding

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[paddingFrom](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).paddingFrom(androidx.compose.ui.layout.AlignmentLine,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(alignmentLine: `[AlignmentLine](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/AlignmentLine)`, before: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, after: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` A [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that can add padding to position the content according to specified distances from its bounds to an [alignment line](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/AlignmentLine). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[paddingFrom](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).paddingFrom(androidx.compose.ui.layout.AlignmentLine,androidx.compose.ui.unit.TextUnit,androidx.compose.ui.unit.TextUnit))`(` ` alignmentLine: `[AlignmentLine](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/AlignmentLine)`,` ` before: `[TextUnit](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit)`,` ` after: `[TextUnit](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit) ` )` A [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that can add padding to position the content according to specified distances from its bounds to an [alignment line](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/AlignmentLine). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[paddingFromBaseline](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).paddingFromBaseline(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(top: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, bottom: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` A [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that positions the content in a layout such that the distance from the top of the layout to the [baseline of the first line of text in the content](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/package-summary#FirstBaseline()) is [top](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).paddingFromBaseline(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)), and the distance from the [baseline of the last line of text in the content](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/package-summary#LastBaseline()) to the bottom of the layout is [bottom](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).paddingFromBaseline(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[paddingFromBaseline](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).paddingFromBaseline(androidx.compose.ui.unit.TextUnit,androidx.compose.ui.unit.TextUnit))`(top: `[TextUnit](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit)`, bottom: `[TextUnit](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit)`)` A [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that positions the content in a layout such that the distance from the top of the layout to the [baseline of the first line of text in the content](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/package-summary#FirstBaseline()) is [top](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).paddingFromBaseline(androidx.compose.ui.unit.TextUnit,androidx.compose.ui.unit.TextUnit)), and the distance from the [baseline of the last line of text in the content](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/package-summary#LastBaseline()) to the bottom of the layout is [bottom](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).paddingFromBaseline(androidx.compose.ui.unit.TextUnit,androidx.compose.ui.unit.TextUnit)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[absolutePadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).absolutePadding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(left: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, top: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, right: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, bottom: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Apply additional space along each edge of the content in [Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp): [left](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).absolutePadding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)), [top](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).absolutePadding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)), [right](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).absolutePadding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) and [bottom](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).absolutePadding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[padding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp))`(all: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Apply [all](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp)) dp of additional space along each edge of the content, left, top, right and bottom. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[padding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).padding(androidx.compose.foundation.layout.PaddingValues))`(paddingValues: `[PaddingValues](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues)`)` Apply [PaddingValues](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues) to the component as additional space along each edge of the content's left, top, right and bottom. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[padding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(horizontal: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, vertical: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Apply [horizontal](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) dp space along the left and right edges of the content, and [vertical](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) dp space along the top and bottom edges. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[padding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(start: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, top: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, end: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, bottom: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Apply additional space along each edge of the content in [Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp): [start](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)), [top](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)), [end](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) and [bottom](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).padding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[captionBarPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).captionBarPadding())`()` Adds padding to accommodate the [caption bar](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).captionBar()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[displayCutoutPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).displayCutoutPadding())`()` Adds padding to accommodate the [display cutout](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).displayCutout()). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[imePadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).imePadding())`()` Adds padding to accommodate the [ime](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).ime()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[mandatorySystemGesturesPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).mandatorySystemGesturesPadding())`()` Adds padding to accommodate the [mandatory system gestures](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).mandatorySystemGestures()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[navigationBarsPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).navigationBarsPadding())`()` Adds padding to accommodate the [navigation bars](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).navigationBars()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[safeContentPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).safeContentPadding())`()` Adds padding to accommodate the [safe content](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).safeContent()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[safeGesturesPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).safeGesturesPadding())`()` Adds padding to accommodate the [safe gestures](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).safeGestures()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[statusBarsPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).statusBarsPadding())`()` Adds padding to accommodate the [status bars](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).statusBars()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[systemBarsPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).systemBarsPadding())`()` Adds padding to accommodate the [system bars](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).systemBars()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[systemGesturesPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).systemGesturesPadding())`()` Adds padding to accommodate the [system gestures](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).systemGestures()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[waterfallPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).waterfallPadding())`()` Adds padding to accommodate the [waterfall](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).waterfall()) insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[windowInsetsPadding](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).windowInsetsPadding(androidx.compose.foundation.layout.WindowInsets))`(insets: `[WindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets)`)` Adds padding so that the content doesn't enter [insets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).windowInsetsPadding(androidx.compose.foundation.layout.WindowInsets)) space. |

## Pointer

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onIndirectPointerGesture](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onIndirectPointerGesture(kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0))`(` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` onSwipeForward: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` onSwipeBackward: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` A [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that listens for and detects high-level gestures from an [IndirectPointerEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/indirect/IndirectPointerEvent) source. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[pointerHoverIcon](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pointerHoverIcon(androidx.compose.ui.input.pointer.PointerIcon,kotlin.Boolean))`(` ` icon: `[PointerIcon](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/PointerIcon)`,` ` overrideDescendants: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Modifier that lets a developer define a pointer icon to display when the cursor is hovered over the element. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[pointerInteropFilter](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pointerInteropFilter(androidx.compose.ui.input.pointer.RequestDisallowInterceptTouchEvent,kotlin.Function1))`(` ` requestDisallowInterceptTouchEvent: `[RequestDisallowInterceptTouchEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/RequestDisallowInterceptTouchEvent)`?,` ` onTouchEvent: (`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` A special PointerInputModifier that provides access to the underlying [MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)s originally dispatched to Compose. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[pointerInput](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pointerInput(kotlin.coroutines.SuspendFunction1))~~`(block: suspend `[PointerInputScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/PointerInputScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` **This function is deprecated.** Modifier.pointerInput must provide one or more 'key' parameters that define the identity of the modifier and determine when its previous input processing coroutine should be cancelled and a new effect launched for the new key. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[pointerInput](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pointerInput(kotlin.Any,androidx.compose.ui.input.pointer.PointerInputEventHandler))`(key1: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?, block: `[PointerInputEventHandler](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/PointerInputEventHandler)`)` Create a modifier for processing pointer input within the region of the modified element. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[pointerInput](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pointerInput(kotlin.Array,androidx.compose.ui.input.pointer.PointerInputEventHandler))`(vararg keys: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?, block: `[PointerInputEventHandler](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/PointerInputEventHandler)`)` Create a modifier for processing pointer input within the region of the modified element. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[pointerInput](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pointerInput(kotlin.Any,kotlin.Any,androidx.compose.ui.input.pointer.PointerInputEventHandler))`(` ` key1: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?,` ` key2: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?,` ` block: `[PointerInputEventHandler](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/PointerInputEventHandler) ` )` Create a modifier for processing pointer input within the region of the modified element. |

## Position

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[absoluteOffset](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).absoluteOffset(kotlin.Function1))`(offset: `[Density](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density)`.() `->` `[IntOffset](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntOffset)`)` Offset the content by [offset](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).absoluteOffset(kotlin.Function1)) px. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[absoluteOffset](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).absoluteOffset(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(x: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, y: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Offset the content by ([x](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).absoluteOffset(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) dp, [y](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).absoluteOffset(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) dp). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[offset](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).offset(kotlin.Function1))`(offset: `[Density](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density)`.() `->` `[IntOffset](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntOffset)`)` Offset the content by [offset](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).offset(kotlin.Function1)) px. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[offset](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).offset(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(x: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, y: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Offset the content by ([x](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).offset(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) dp, [y](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).offset(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) dp). |
| Scope: ` `[TabRowDefaults](https://developer.android.com/reference/kotlin/androidx/compose/material/TabRowDefaults) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[tabIndicatorOffset](https://developer.android.com/reference/kotlin/androidx/compose/material/TabRowDefaults#(androidx.compose.ui.Modifier).tabIndicatorOffset(androidx.compose.material.TabPosition))`(currentTabPosition: `[TabPosition](https://developer.android.com/reference/kotlin/androidx/compose/material/TabPosition)`)` [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that takes up all the available width inside the [TabRow](https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#TabRow(kotlin.Int,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,kotlin.Function1,kotlin.Function0,kotlin.Function0)), and then animates the offset of the indicator it is applied to, depending on the [currentTabPosition](https://developer.android.com/reference/kotlin/androidx/compose/material/TabRowDefaults#(androidx.compose.ui.Modifier).tabIndicatorOffset(androidx.compose.material.TabPosition)). |
| Scope: ` `[TabRowDefaults](https://developer.android.com/reference/kotlin/androidx/compose/material3/TabRowDefaults) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[tabIndicatorOffset](https://developer.android.com/reference/kotlin/androidx/compose/material3/TabRowDefaults#(androidx.compose.ui.Modifier).tabIndicatorOffset(androidx.compose.material3.TabPosition))~~`(currentTabPosition: `[TabPosition](https://developer.android.com/reference/kotlin/androidx/compose/material3/TabPosition)`)` **This function is deprecated.** Solely for use alongside deprecated TabRowDefaults.Indicator method. |

## Semantics

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[progressSemantics](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).progressSemantics())`()` Contains the [semantics](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.Modifier).semantics(kotlin.Boolean,kotlin.Function1)) required for an indeterminate progress indicator, that represents the fact of the in-progress operation. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[progressSemantics](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).progressSemantics(kotlin.Float,kotlin.ranges.ClosedFloatingPointRange,kotlin.Int))`(` ` value: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` valueRange: `[ClosedFloatingPointRange](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.ranges/-closed-floating-point-range/index.html)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>,` ` steps: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) ` )` Contains the [semantics](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.Modifier).semantics(kotlin.Boolean,kotlin.Function1)) required for a determinate progress indicator or the progress part of a slider, that represents progress within [valueRange](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).progressSemantics(kotlin.Float,kotlin.ranges.ClosedFloatingPointRange,kotlin.Int)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[rangeSemantics](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).rangeSemantics(kotlin.Float,kotlin.Boolean,kotlin.Function1,kotlin.ranges.ClosedFloatingPointRange,kotlin.Int))`(` ` value: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` onValueChange: (`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` valueRange: `[ClosedFloatingPointRange](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.ranges/-closed-floating-point-range/index.html)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>,` ` steps: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) ` )` Modifier to add semantics signifying progress of the Stepper/Slider. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[clearAndSetSemantics](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).clearAndSetSemantics(kotlin.Function1))`(properties: `[SemanticsPropertyReceiver](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Clears the semantics of all the descendant nodes and sets new semantics. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[semantics](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).semantics(kotlin.Boolean,kotlin.Function1))`(mergeDescendants: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`, properties: `[SemanticsPropertyReceiver](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Add semantics key/value pairs to the layout node, for use in testing, accessibility, etc. |

## Scroll

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[clipScrollableContainer](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).clipScrollableContainer(androidx.compose.foundation.gestures.Orientation))`(orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`)` Clips bounds of scrollable container on main axis while leaving space for background effects (like shadows) on cross axis. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[nestedScroll](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).nestedScroll(androidx.compose.ui.input.nestedscroll.NestedScrollConnection,androidx.compose.ui.input.nestedscroll.NestedScrollDispatcher))`(` ` connection: `[NestedScrollConnection](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/nestedscroll/NestedScrollConnection)`,` ` dispatcher: `[NestedScrollDispatcher](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/nestedscroll/NestedScrollDispatcher)`?` ` )` Modify element to make it participate in the nested scrolling hierarchy. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[overscroll](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).overscroll(androidx.compose.foundation.OverscrollEffect))`(overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?)` Renders overscroll from the provided [overscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).overscroll(androidx.compose.foundation.OverscrollEffect)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onPreRotaryScrollEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onPreRotaryScrollEvent(kotlin.Function1))`(` ` onPreRotaryScrollEvent: (`[RotaryScrollEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Adding this [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) to the [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) parameter of a component will allow it to intercept [RotaryScrollEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent)s if it (or one of its children) is focused. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onRotaryScrollEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onRotaryScrollEvent(kotlin.Function1))`(` ` onRotaryScrollEvent: (`[RotaryScrollEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Adding this [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) to the [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) parameter of a component will allow it to intercept [RotaryScrollEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent)s if it (or one of its children) is focused. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[rotaryScrollable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).rotaryScrollable(androidx.wear.compose.foundation.rotary.RotaryScrollableBehavior,androidx.compose.ui.focus.FocusRequester,kotlin.Boolean,androidx.compose.foundation.OverscrollEffect))`(` ` behavior: `[RotaryScrollableBehavior](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/rotary/RotaryScrollableBehavior)`,` ` focusRequester: `[FocusRequester](https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusRequester)`,` ` reverseDirection: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?` ` )` A modifier which connects rotary events with scrollable containers such as Column, LazyList and others. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scrollAway](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollAway(androidx.wear.compose.foundation.ScrollInfoProvider,kotlin.Function0))`(` ` scrollInfoProvider: `[ScrollInfoProvider](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/ScrollInfoProvider)`,` ` screenStage: () `->` `[ScreenStage](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/ScreenStage) ` )` Scroll an item vertically in/out of view based on scroll state provided by a scrolling list. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scrollAway](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollAway(androidx.compose.foundation.ScrollState,androidx.compose.ui.unit.Dp))`(scrollState: `[ScrollState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/ScrollState)`, offset: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Scroll an item vertically in/out of view based on a [ScrollState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/ScrollState). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scrollAway](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollAway(androidx.compose.foundation.lazy.LazyListState,kotlin.Int,androidx.compose.ui.unit.Dp))`(` ` scrollState: `[LazyListState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyListState)`,` ` itemIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` offset: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp) ` )` Scroll an item vertically in/out of view based on a [LazyListState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyListState). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scrollAway](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollAway(androidx.wear.compose.foundation.lazy.ScalingLazyListState,kotlin.Int,androidx.compose.ui.unit.Dp))`(` ` scrollState: `[ScalingLazyListState](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/ScalingLazyListState)`,` ` itemIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` offset: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp) ` )` Scroll an item vertically in/out of view based on a [ScalingLazyListState](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/ScalingLazyListState). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[scrollAway](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollAway(androidx.wear.compose.material.ScalingLazyListState,kotlin.Int,androidx.compose.ui.unit.Dp))~~`(` ` scrollState: `[ScalingLazyListState](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/ScalingLazyListState)`,` ` itemIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` offset: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp) ` )` **This function is deprecated.** This overload is provided for backwards compatibility with Compose for Wear OS 1.1.A newer overload is available which uses ScalingLazyListState from wear.compose.foundation.lazy package |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[horizontalScroll](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).horizontalScroll(androidx.compose.foundation.ScrollState,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior,kotlin.Boolean))`(` ` state: `[ScrollState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/ScrollState)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?,` ` reverseScrolling: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Modify element to allow to scroll horizontally when width of the content is bigger than max constraints allow. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[horizontalScroll](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).horizontalScroll(androidx.compose.foundation.ScrollState,androidx.compose.foundation.OverscrollEffect,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior,kotlin.Boolean))`(` ` state: `[ScrollState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/ScrollState)`,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?,` ` reverseScrolling: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Modify element to allow to scroll horizontally when width of the content is bigger than max constraints allow. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[verticalScroll](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).verticalScroll(androidx.compose.foundation.ScrollState,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior,kotlin.Boolean))`(` ` state: `[ScrollState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/ScrollState)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?,` ` reverseScrolling: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Modify element to allow to scroll vertically when height of the content is bigger than max constraints allow. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[verticalScroll](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).verticalScroll(androidx.compose.foundation.ScrollState,androidx.compose.foundation.OverscrollEffect,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior,kotlin.Boolean))`(` ` state: `[ScrollState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/ScrollState)`,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?,` ` reverseScrolling: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Modify element to allow to scroll vertically when height of the content is bigger than max constraints allow. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scrollable2D](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollable2D(androidx.compose.foundation.gestures.Scrollable2DState,kotlin.Boolean,androidx.compose.foundation.OverscrollEffect,androidx.compose.foundation.gestures.FlingBehavior,androidx.compose.foundation.interaction.MutableInteractionSource))`(` ` state: `[Scrollable2DState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Scrollable2DState)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?` ` )` Configure touch scrolling and flinging for the UI element in both XY orientations. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scrollableArea](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollableArea(androidx.compose.foundation.gestures.ScrollableState,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.gestures.BringIntoViewSpec))`(` ` state: `[ScrollableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/ScrollableState)`,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` reverseScrolling: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` bringIntoViewSpec: `[BringIntoViewSpec](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/BringIntoViewSpec)`?` ` )` Configure a component to act as a scrollable area. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scrollableArea](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollableArea(androidx.compose.foundation.gestures.ScrollableState,androidx.compose.foundation.gestures.Orientation,androidx.compose.foundation.OverscrollEffect,kotlin.Boolean,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.gestures.BringIntoViewSpec))`(` ` state: `[ScrollableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/ScrollableState)`,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` reverseScrolling: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` bringIntoViewSpec: `[BringIntoViewSpec](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/BringIntoViewSpec)`?` ` )` Configure a component to act as a scrollable area. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scrollable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollable(androidx.compose.foundation.gestures.ScrollableState,androidx.compose.foundation.gestures.Orientation,kotlin.Boolean,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior,androidx.compose.foundation.interaction.MutableInteractionSource))`(` ` state: `[ScrollableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/ScrollableState)`,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` reverseDirection: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?` ` )` Configure touch scrolling and flinging for the UI element in a single [Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scrollable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scrollable(androidx.compose.foundation.gestures.ScrollableState,androidx.compose.foundation.gestures.Orientation,androidx.compose.foundation.OverscrollEffect,kotlin.Boolean,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.foundation.gestures.BringIntoViewSpec))`(` ` state: `[ScrollableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/ScrollableState)`,` ` orientation: `[Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation)`,` ` overscrollEffect: `[OverscrollEffect](https://developer.android.com/reference/kotlin/androidx/compose/foundation/OverscrollEffect)`?,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` reverseDirection: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` flingBehavior: `[FlingBehavior](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/FlingBehavior)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` bringIntoViewSpec: `[BringIntoViewSpec](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/BringIntoViewSpec)`?` ` )` Configure touch scrolling and flinging for the UI element in a single [Orientation](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation). |
| Scope: **Any** | `@`[ExperimentalLayoutApi](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ExperimentalLayoutApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[imeNestedScroll](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).imeNestedScroll())`()` Controls the soft keyboard as a nested scrolling on Android [R](https://developer.android.com/reference/android/os/Build.VERSION_CODES.html#R()) and later. |

## Size

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[animateContentSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).animateContentSize(androidx.compose.animation.core.FiniteAnimationSpec,kotlin.Function2))`(` ` animationSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)`>,` ` finishedListener: ((initialValue: `[IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)`, targetValue: `[IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)?` ` )` This modifier animates its own size when its child modifier (or the child composable if it is already at the tail of the chain) changes size. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[animateContentSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).animateContentSize(androidx.compose.animation.core.FiniteAnimationSpec,androidx.compose.ui.Alignment,kotlin.Function2))`(` ` animationSpec: `[FiniteAnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec)`<`[IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)`>,` ` alignment: `[Alignment](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment)`,` ` finishedListener: ((initialValue: `[IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)`, targetValue: `[IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)?` ` )` This modifier animates its own size when its child modifier (or the child composable if it is already at the tail of the chain) changes size. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[aspectRatio](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).aspectRatio(kotlin.Float,kotlin.Boolean))`(` ` ratio: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, fromInclusive = false) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` matchHeightConstraintsFirst: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Attempts to size the content to match a specified aspect ratio by trying to match one of the incoming constraints in the following order: [Constraints.maxWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()), [Constraints.maxHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()), [Constraints.minWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minWidth()), [Constraints.minHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()) if [matchHeightConstraintsFirst](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).aspectRatio(kotlin.Float,kotlin.Boolean)) is `false` (which is the default), or [Constraints.maxHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()), [Constraints.maxWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()), [Constraints.minHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()), [Constraints.minWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minWidth()) if [matchHeightConstraintsFirst](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).aspectRatio(kotlin.Float,kotlin.Boolean)) is `true`. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[minimumInteractiveComponentSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).minimumInteractiveComponentSize())`()` Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[minimumInteractiveComponentSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).minimumInteractiveComponentSize())`()` Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[minimumInteractiveComponentSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).minimumInteractiveComponentSize())`()` Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[height](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).height(androidx.compose.foundation.layout.IntrinsicSize))`(intrinsicSize: `[IntrinsicSize](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/IntrinsicSize)`)` Declare the preferred height of the content to be the same as the min or max intrinsic height of the content. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredHeight(androidx.compose.foundation.layout.IntrinsicSize))`(intrinsicSize: `[IntrinsicSize](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/IntrinsicSize)`)` Declare the height of the content to be exactly the same as the min or max intrinsic height of the content. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredWidth(androidx.compose.foundation.layout.IntrinsicSize))`(intrinsicSize: `[IntrinsicSize](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/IntrinsicSize)`)` Declare the width of the content to be exactly the same as the min or max intrinsic width of the content. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[width](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).width(androidx.compose.foundation.layout.IntrinsicSize))`(intrinsicSize: `[IntrinsicSize](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/IntrinsicSize)`)` Declare the preferred width of the content to be the same as the min or max intrinsic width of the content. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onSizeChanged](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onSizeChanged(kotlin.Function1))`(onSizeChanged: (`[IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Invoked with the size of the modified Compose UI element when the element is first measured or when the size of the element changes. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[defaultMinSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).defaultMinSize(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(minWidth: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, minHeight: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Constrain the size of the wrapped layout only when it would be otherwise unconstrained: the [minWidth](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).defaultMinSize(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) and [minHeight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).defaultMinSize(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)) constraints are only applied when the incoming corresponding constraint is `0`. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fillMaxHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).fillMaxHeight(kotlin.Float))`(fraction: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Have the content fill (possibly only partially) the [Constraints.maxHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()) of the incoming measurement constraints, by setting the [minimum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()) and the [maximum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()) to be equal to the [maximum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()) multiplied by [fraction](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).fillMaxHeight(kotlin.Float)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fillMaxSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).fillMaxSize(kotlin.Float))`(fraction: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Have the content fill (possibly only partially) the [Constraints.maxWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) and [Constraints.maxHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()) of the incoming measurement constraints, by setting the [minimum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minWidth()) and the [maximum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) to be equal to the [maximum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) multiplied by [fraction](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).fillMaxSize(kotlin.Float)), as well as the [minimum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()) and the [maximum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()) to be equal to the [maximum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()) multiplied by [fraction](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).fillMaxSize(kotlin.Float)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fillMaxWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).fillMaxWidth(kotlin.Float))`(fraction: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Have the content fill (possibly only partially) the [Constraints.maxWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) of the incoming measurement constraints, by setting the [minimum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minWidth()) and the [maximum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) to be equal to the [maximum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) multiplied by [fraction](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).fillMaxWidth(kotlin.Float)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[height](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).height(androidx.compose.ui.unit.Dp))`(height: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Declare the preferred height of the content to be exactly [height](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).height(androidx.compose.ui.unit.Dp))dp. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[heightIn](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).heightIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(min: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, max: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Constrain the height of the content to be between [min](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).heightIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and [max](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).heightIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp as permitted by the incoming measurement [Constraints](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredHeight(androidx.compose.ui.unit.Dp))`(height: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Declare the height of the content to be exactly [height](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredHeight(androidx.compose.ui.unit.Dp))dp. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredHeightIn](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredHeightIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(min: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, max: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Constrain the height of the content to be between [min](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredHeightIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and [max](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredHeightIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredSize(androidx.compose.ui.unit.Dp))`(size: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Declare the size of the content to be exactly [size](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredSize(androidx.compose.ui.unit.Dp))dp width and height. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredSize(androidx.compose.ui.unit.DpSize))`(size: `[DpSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize)`)` Declare the size of the content to be exactly [size](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredSize(androidx.compose.ui.unit.DpSize)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredSize(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(width: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, height: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Declare the size of the content to be exactly [width](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredSize(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and [height](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredSize(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredSizeIn](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredSizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(` ` minWidth: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` minHeight: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` maxWidth: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` maxHeight: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp) ` )` Constrain the width of the content to be between [minWidth](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredSizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and [maxWidth](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredSizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp, and the height of the content to be between [minHeight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredSizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and [maxHeight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredSizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredWidth(androidx.compose.ui.unit.Dp))`(width: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Declare the width of the content to be exactly [width](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredWidth(androidx.compose.ui.unit.Dp))dp. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[requiredWidthIn](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).requiredWidthIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(min: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, max: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Constrain the width of the content to be between [min](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredWidthIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and [max](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).requiredWidthIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[size](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.Dp))`(size: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Declare the preferred size of the content to be exactly [size](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.Dp))dp square. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[size](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.DpSize))`(size: `[DpSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize)`)` Declare the preferred size of the content to be exactly [size](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.DpSize)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[size](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(width: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, height: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Declare the preferred size of the content to be exactly [width](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp by [height](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[sizeIn](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).sizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(minWidth: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, minHeight: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, maxWidth: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, maxHeight: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Constrain the width of the content to be between [minWidth](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).sizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and [maxWidth](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).sizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and the height of the content to be between [minHeight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).sizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and [maxHeight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).sizeIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp as permitted by the incoming measurement [Constraints](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[width](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).width(androidx.compose.ui.unit.Dp))`(width: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Declare the preferred width of the content to be exactly [width](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).width(androidx.compose.ui.unit.Dp))dp. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[widthIn](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).widthIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))`(min: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, max: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Constrain the width of the content to be between [min](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).widthIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp and [max](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).widthIn(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp))dp as permitted by the incoming measurement [Constraints](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[wrapContentHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).wrapContentHeight(androidx.compose.ui.Alignment.Vertical,kotlin.Boolean))`(` ` align: `[Alignment.Vertical](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment.Vertical)`,` ` unbounded: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Allow the content to measure at its desired height without regard for the incoming measurement [minimum height constraint](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()), and, if [unbounded](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).wrapContentHeight(androidx.compose.ui.Alignment.Vertical,kotlin.Boolean)) is true, also without regard for the incoming measurement [maximum height constraint](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[wrapContentSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).wrapContentSize(androidx.compose.ui.Alignment,kotlin.Boolean))`(align: `[Alignment](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment)`, unbounded: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` Allow the content to measure at its desired size without regard for the incoming measurement [minimum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minWidth()) or [minimum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()) constraints, and, if [unbounded](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).wrapContentSize(androidx.compose.ui.Alignment,kotlin.Boolean)) is true, also without regard for the incoming maximum constraints. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[wrapContentWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).wrapContentWidth(androidx.compose.ui.Alignment.Horizontal,kotlin.Boolean))`(` ` align: `[Alignment.Horizontal](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment.Horizontal)`,` ` unbounded: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Allow the content to measure at its desired width without regard for the incoming measurement [minimum width constraint](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minWidth()), and, if [unbounded](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).wrapContentWidth(androidx.compose.ui.Alignment.Horizontal,kotlin.Boolean)) is true, also without regard for the incoming measurement [maximum width constraint](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[touchTargetAwareSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).touchTargetAwareSize(androidx.compose.ui.unit.Dp))`(size: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` Modifier to set both the size and recommended touch target for [IconButton](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/package-summary#IconButton(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.String,kotlin.Boolean,androidx.wear.compose.material3.IconButtonShapes,androidx.wear.compose.material3.IconButtonColors,androidx.compose.foundation.BorderStroke,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function1)) and TextButton. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[transformedHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).transformedHeight(androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope,androidx.wear.compose.material3.lazy.TransformationSpec))`(` ` scope: `[TransformingLazyColumnItemScope](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScope)`,` ` transformationSpec: `[TransformationSpec](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/lazy/TransformationSpec) ` )` Convenience modifier to calculate transformed height using [TransformationSpec](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/lazy/TransformationSpec). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[windowInsetsBottomHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).windowInsetsBottomHeight(androidx.compose.foundation.layout.WindowInsets))`(insets: `[WindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets)`)` Sets the height to that of [insets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).windowInsetsBottomHeight(androidx.compose.foundation.layout.WindowInsets)) at the [bottom](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets#getBottom(androidx.compose.ui.unit.Density)) of the screen. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[windowInsetsEndWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).windowInsetsEndWidth(androidx.compose.foundation.layout.WindowInsets))`(insets: `[WindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets)`)` Sets the width to that of [insets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).windowInsetsEndWidth(androidx.compose.foundation.layout.WindowInsets)) at the [end](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment#End()) of the screen, using either [left](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets#getLeft(androidx.compose.ui.unit.Density,androidx.compose.ui.unit.LayoutDirection)) or [right](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets#getRight(androidx.compose.ui.unit.Density,androidx.compose.ui.unit.LayoutDirection)), depending on the [LayoutDirection](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/LayoutDirection). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[windowInsetsStartWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).windowInsetsStartWidth(androidx.compose.foundation.layout.WindowInsets))`(insets: `[WindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets)`)` Sets the width to that of [insets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).windowInsetsStartWidth(androidx.compose.foundation.layout.WindowInsets)) at the [start](https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment#Start()) of the screen, using either [left](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets#getLeft(androidx.compose.ui.unit.Density,androidx.compose.ui.unit.LayoutDirection)) or [right](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets#getRight(androidx.compose.ui.unit.Density,androidx.compose.ui.unit.LayoutDirection)), depending on the [LayoutDirection](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/LayoutDirection). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[windowInsetsTopHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).windowInsetsTopHeight(androidx.compose.foundation.layout.WindowInsets))`(insets: `[WindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets)`)` Sets the height to that of [insets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).windowInsetsTopHeight(androidx.compose.foundation.layout.WindowInsets)) at the [top](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets#getTop(androidx.compose.ui.unit.Density)) of the screen. |
| Scope: **Any** | `@`[UnstableApi](https://developer.android.com/reference/kotlin/androidx/media3/common/util/UnstableApi) ` @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[resizeWithContentScale](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).resizeWithContentScale(androidx.compose.ui.layout.ContentScale,androidx.compose.ui.geometry.Size,androidx.compose.ui.unit.Density))`(` ` contentScale: `[ContentScale](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/ContentScale)`,` ` sourceSizeDp: `[Size](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Size)`?,` ` density: `[Density](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density) ` )` Attempts to size the original content rectangle to be inscribed into a destination by applying a specified [ContentScale](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/ContentScale) type. |
| Scope: ` `[SharedTransitionScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[skipToLookaheadSize](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).skipToLookaheadSize(kotlin.Function0))`(enabled: () `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` [skipToLookaheadSize](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).skipToLookaheadSize(kotlin.Function0)) enables a layout to measure its child with the lookahead constraints, therefore laying out the child as if the transition has finished. |
| Scope: ` `[RowScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[weight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope#(androidx.compose.ui.Modifier).weight(kotlin.Float,kotlin.Boolean))`(` ` weight: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, fromInclusive = false) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` fill: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Size the element's width proportional to its [weight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/RowScope#(androidx.compose.ui.Modifier).weight(kotlin.Float,kotlin.Boolean)) relative to other weighted sibling elements in the [Row](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#Row(androidx.compose.ui.Modifier,androidx.compose.foundation.layout.Arrangement.Horizontal,androidx.compose.ui.Alignment.Vertical,kotlin.Function1)). |
| Scope: ` `[ColumnScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[weight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope#(androidx.compose.ui.Modifier).weight(kotlin.Float,kotlin.Boolean))`(` ` weight: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, fromInclusive = false) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` fill: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Size the element's height proportional to its [weight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope#(androidx.compose.ui.Modifier).weight(kotlin.Float,kotlin.Boolean)) relative to other weighted sibling elements in the [Column](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#Column(androidx.compose.ui.Modifier,androidx.compose.foundation.layout.Arrangement.Vertical,androidx.compose.ui.Alignment.Horizontal,kotlin.Function1)). |
| Scope: ` `[FlowRowScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlowRowScope) | `@`[ExperimentalLayoutApi](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ExperimentalLayoutApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fillMaxRowHeight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlowRowScope#(androidx.compose.ui.Modifier).fillMaxRowHeight(kotlin.Float))`(fraction: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Have the item fill (possibly only partially) the max height of the tallest item in the row it was placed in, within the [FlowRow](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#FlowRow(androidx.compose.ui.Modifier,androidx.compose.foundation.layout.Arrangement.Horizontal,androidx.compose.foundation.layout.Arrangement.Vertical,androidx.compose.ui.Alignment.Vertical,kotlin.Int,kotlin.Int,androidx.compose.foundation.layout.FlowRowOverflow,kotlin.Function1)). |
| Scope: ` `[FlowColumnScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlowColumnScope) | `@`[ExperimentalLayoutApi](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ExperimentalLayoutApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fillMaxColumnWidth](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlowColumnScope#(androidx.compose.ui.Modifier).fillMaxColumnWidth(kotlin.Float))`(` ` fraction: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) ` )` Have the item fill (possibly only partially) the max width of the widest item in the column it was placed in, within the [FlowColumn](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#FlowColumn(androidx.compose.ui.Modifier,androidx.compose.foundation.layout.Arrangement.Vertical,androidx.compose.foundation.layout.Arrangement.Horizontal,androidx.compose.ui.Alignment.Horizontal,kotlin.Int,kotlin.Int,androidx.compose.foundation.layout.FlowColumnOverflow,kotlin.Function1)). |
| Scope: ` `[BoxScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/BoxScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[matchParentSize](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/BoxScope#(androidx.compose.ui.Modifier).matchParentSize())`()` Size the element to match the size of the [Box](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#Box(androidx.compose.ui.Modifier,androidx.compose.ui.Alignment,kotlin.Boolean,kotlin.Function1)) after all other content elements have been measured. |
| Scope: ` `[LazyItemScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fillParentMaxHeight](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope#(androidx.compose.ui.Modifier).fillParentMaxHeight(kotlin.Float))`(` ` fraction: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) ` )` Have the content fill the [Constraints.maxHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()) of the incoming measurement constraints by setting the [minimum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()) to be equal to the [maximum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()) multiplied by [fraction](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope#(androidx.compose.ui.Modifier).fillParentMaxHeight(kotlin.Float)). |
| Scope: ` `[LazyItemScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fillParentMaxSize](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope#(androidx.compose.ui.Modifier).fillParentMaxSize(kotlin.Float))`(` ` fraction: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) ` )` Have the content fill the [Constraints.maxWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) and [Constraints.maxHeight](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()) of the parent measurement constraints by setting the [minimum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minWidth()) to be equal to the [maximum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) multiplied by [fraction](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope#(androidx.compose.ui.Modifier).fillParentMaxSize(kotlin.Float)) and the [minimum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()) to be equal to the [maximum height](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxHeight()) multiplied by [fraction](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope#(androidx.compose.ui.Modifier).fillParentMaxSize(kotlin.Float)). |
| Scope: ` `[LazyItemScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fillParentMaxWidth](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope#(androidx.compose.ui.Modifier).fillParentMaxWidth(kotlin.Float))`(` ` fraction: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) ` )` Have the content fill the [Constraints.maxWidth](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) of the parent measurement constraints by setting the [minimum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minWidth()) to be equal to the [maximum width](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#maxWidth()) multiplied by [fraction](https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyItemScope#(androidx.compose.ui.Modifier).fillParentMaxWidth(kotlin.Float)). |
| Scope: ` `[ExposedDropdownMenuBoxScope](https://developer.android.com/reference/kotlin/androidx/compose/material/ExposedDropdownMenuBoxScope) `abstract ` | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[exposedDropdownSize](https://developer.android.com/reference/kotlin/androidx/compose/material/ExposedDropdownMenuBoxScope#(androidx.compose.ui.Modifier).exposedDropdownSize(kotlin.Boolean))`(matchTextFieldWidth: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` Modifier which should be applied to an [ExposedDropdownMenu](https://developer.android.com/reference/kotlin/androidx/compose/material/ExposedDropdownMenuBoxScope#ExposedDropdownMenu(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.foundation.ScrollState,kotlin.Function1)) placed inside the scope. |
| Scope: ` `[ExposedDropdownMenuBoxScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuBoxScope) `abstract ` | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[exposedDropdownSize](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuBoxScope#(androidx.compose.ui.Modifier).exposedDropdownSize(kotlin.Boolean))`(matchAnchorWidth: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` Modifier which should be applied to a menu placed inside the [ExposedDropdownMenuBoxScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuBoxScope). |
| Scope: ` `[PaneScaffoldScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[preferredHeight](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope#(androidx.compose.ui.Modifier).preferredHeight(androidx.compose.ui.unit.Dp))`(height: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` This modifier specifies the preferred height for a pane in [Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)s, and the pane scaffold implementation will try its best to respect this height when the associated pane is rendered as a reflowed or a levitated pane. |
| Scope: ` `[PaneScaffoldScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[preferredHeight](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope#(androidx.compose.ui.Modifier).preferredHeight(kotlin.Float))`(` ` proportion: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) ` )` This modifier specifies the preferred height for a pane as a proportion of the overall scaffold height. |
| Scope: ` `[PaneScaffoldScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[preferredWidth](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope#(androidx.compose.ui.Modifier).preferredWidth(kotlin.Float))`(proportion: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` This modifier specifies the preferred width for a pane as a proportion of the overall scaffold width. |
| Scope: ` `[PaneScaffoldScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[preferredWidth](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope#(androidx.compose.ui.Modifier).preferredWidth(androidx.compose.ui.unit.Dp))`(width: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` This modifier specifies the preferred width for a pane in [Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)s, and the pane scaffold implementation will try its best to respect this width when the associated pane is rendered as a fixed pane, i.e., a pane that are not stretching to fill the remaining spaces. |

## Testing

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[testTag](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).testTag(kotlin.String))`(tag: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`)` Applies a tag to allow modified element to be found in tests. |

## Transformations

|---|---|
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[rotate](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).rotate(kotlin.Float))`(degrees: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Sets the degrees the view is rotated around the center of the composable. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scale](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scale(kotlin.Float))`(scale: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Scale the contents of both the horizontal and vertical axis uniformly by the same scale factor. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[scale](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).scale(kotlin.Float,kotlin.Float))`(scaleX: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`, scaleY: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Scale the contents of the composable by the following scale factors along the horizontal and vertical axis respectively. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[transformable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).transformable(androidx.compose.foundation.gestures.TransformableState,kotlin.Boolean,kotlin.Boolean))`(` ` state: `[TransformableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/TransformableState)`,` ` lockRotationOnZoomPan: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Enable transformation gestures of the modified UI element. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[transformable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).transformable(androidx.compose.foundation.gestures.TransformableState,kotlin.Function1,kotlin.Boolean,kotlin.Boolean))`(` ` state: `[TransformableState](https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/TransformableState)`,` ` canPan: (`[Offset](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` lockRotationOnZoomPan: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Enable transformation gestures of the modified UI element. |

## Other

|---|---|
| Scope: **Any** | `@`[ExperimentalFoundationApi](https://developer.android.com/reference/kotlin/androidx/compose/foundation/ExperimentalFoundationApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[dragAndDropSource](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).dragAndDropSource(kotlin.coroutines.SuspendFunction1))~~`(block: suspend `[DragAndDropSourceScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/draganddrop/DragAndDropSourceScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` **This function is deprecated.** Replaced by overload with a callback for obtain a transfer data,start detection is performed by Compose itself |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[contentType](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).contentType(androidx.compose.ui.autofill.ContentType))`(contentType: `[ContentType](https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/ContentType)`)` Set autofill hint with [contentType](https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/package-summary#(androidx.compose.ui.Modifier).contentType(androidx.compose.ui.autofill.ContentType)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[basicMarquee](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).basicMarquee(kotlin.Int,androidx.compose.foundation.MarqueeAnimationMode,kotlin.Int,kotlin.Int,androidx.compose.foundation.MarqueeSpacing,androidx.compose.ui.unit.Dp))`(` ` iterations: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` animationMode: `[MarqueeAnimationMode](https://developer.android.com/reference/kotlin/androidx/compose/foundation/MarqueeAnimationMode)`,` ` repeatDelayMillis: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` initialDelayMillis: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` spacing: `[MarqueeSpacing](https://developer.android.com/reference/kotlin/androidx/compose/foundation/MarqueeSpacing)`,` ` velocity: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp) ` )` Applies an animated marquee effect to the modified content if it's too wide to fit in the available space. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[edgeSwipeToDismiss](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).edgeSwipeToDismiss(androidx.wear.compose.foundation.SwipeToDismissBoxState,androidx.compose.ui.unit.Dp))`(` ` swipeToDismissBoxState: `[SwipeToDismissBoxState](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/SwipeToDismissBoxState)`,` ` edgeWidth: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp) ` )` Handles swipe to dismiss from the edge of the viewport. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[blur](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).blur(androidx.compose.ui.unit.Dp,androidx.compose.ui.draw.BlurredEdgeTreatment))`(radius: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`, edgeTreatment: `[BlurredEdgeTreatment](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/BlurredEdgeTreatment)`)` Draw content blurred with the specified radii. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[blur](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).blur(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.draw.BlurredEdgeTreatment))`(` ` radiusX: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` radiusY: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` edgeTreatment: `[BlurredEdgeTreatment](https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/BlurredEdgeTreatment) ` )` Draw content blurred with the specified radii. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[bringIntoViewRequester](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).bringIntoViewRequester(androidx.compose.foundation.relocation.BringIntoViewRequester))`(` ` bringIntoViewRequester: `[BringIntoViewRequester](https://developer.android.com/reference/kotlin/androidx/compose/foundation/relocation/BringIntoViewRequester) ` )` Modifier that can be used to send [bringIntoView](https://developer.android.com/reference/kotlin/androidx/compose/foundation/relocation/BringIntoViewRequester#bringIntoView(androidx.compose.ui.geometry.Rect)) requests. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[bringIntoViewResponder](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).bringIntoViewResponder(androidx.compose.foundation.relocation.BringIntoViewResponder))~~`(responder: `[BringIntoViewResponder](https://developer.android.com/reference/kotlin/androidx/compose/foundation/relocation/BringIntoViewResponder)`)` **This function is deprecated.** Use BringIntoViewModifierNode instead |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[composed](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).composed(kotlin.Function1,kotlin.Function1))`(` ` inspectorInfo: `[InspectorInfo](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` factory: @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable)` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.() `->` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) ` )` Declare a just-in-time composition of a [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that will be composed for each element it modifies. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[composed](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).composed(kotlin.String,kotlin.Any,kotlin.Function1,kotlin.Function1))`(` ` fullyQualifiedName: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`,` ` key1: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?,` ` inspectorInfo: `[InspectorInfo](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` factory: @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable)` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.() `->` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) ` )` Declare a just-in-time composition of a [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that will be composed for each element it modifies. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[composed](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).composed(kotlin.String,kotlin.Array,kotlin.Function1,kotlin.Function1))`(` ` fullyQualifiedName: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`,` ` vararg keys: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?,` ` inspectorInfo: `[InspectorInfo](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` factory: @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable)` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.() `->` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) ` )` Declare a just-in-time composition of a [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that will be composed for each element it modifies. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[composed](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).composed(kotlin.String,kotlin.Any,kotlin.Any,kotlin.Function1,kotlin.Function1))`(` ` fullyQualifiedName: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`,` ` key1: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?,` ` key2: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?,` ` inspectorInfo: `[InspectorInfo](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` factory: @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable)` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.() `->` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) ` )` Declare a just-in-time composition of a [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that will be composed for each element it modifies. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[composed](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).composed(kotlin.String,kotlin.Any,kotlin.Any,kotlin.Any,kotlin.Function1,kotlin.Function1))`(` ` fullyQualifiedName: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`,` ` key1: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?,` ` key2: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?,` ` key3: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?,` ` inspectorInfo: `[InspectorInfo](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` factory: @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable)` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.() `->` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) ` )` Declare a just-in-time composition of a [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that will be composed for each element it modifies. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[contentColorProvider](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).contentColorProvider(androidx.compose.ui.graphics.Color))`(contentColor: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`)` Provides [contentColor](https://developer.android.com/reference/kotlin/androidx/xr/glimmer/package-summary#(androidx.compose.ui.Modifier).contentColorProvider(androidx.compose.ui.graphics.Color)) for text and iconography to consume. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[depth](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).depth(androidx.xr.glimmer.Depth,androidx.compose.ui.graphics.Shape))`(depth: `[Depth](https://developer.android.com/reference/kotlin/androidx/xr/glimmer/Depth)`?, shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`)` Renders shadows for the provided [depth](https://developer.android.com/reference/kotlin/androidx/xr/glimmer/package-summary#(androidx.compose.ui.Modifier).depth(androidx.xr.glimmer.Depth,androidx.compose.ui.graphics.Shape)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[dragAndDropSource](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).dragAndDropSource(kotlin.Function1))`(` ` transferData: (`[Offset](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset)`) `->` `[DragAndDropTransferData](https://developer.android.com/reference/kotlin/androidx/compose/ui/draganddrop/DragAndDropTransferData)`?` ` )` A [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that allows an element it is applied to be treated like a source for drag and drop operations. |
| Scope: **Any** | `@`[ExperimentalFoundationApi](https://developer.android.com/reference/kotlin/androidx/compose/foundation/ExperimentalFoundationApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[dragAndDropSource](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).dragAndDropSource(kotlin.Function1,kotlin.coroutines.SuspendFunction1))~~`(` ` drawDragDecoration: `[DrawScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` block: suspend `[DragAndDropSourceScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/draganddrop/DragAndDropSourceScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` **This function is deprecated.** Replaced by overload with a callback for obtain a transfer data,start detection is performed by Compose itself |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[dragAndDropSource](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).dragAndDropSource(kotlin.Function1,kotlin.Function1))`(` ` drawDragDecoration: `[DrawScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` transferData: (`[Offset](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset)`) `->` `[DragAndDropTransferData](https://developer.android.com/reference/kotlin/androidx/compose/ui/draganddrop/DragAndDropTransferData)`?` ` )` A [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that allows an element it is applied to be treated like a source for drag and drop operations. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[dragAndDropTarget](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).dragAndDropTarget(kotlin.Function1,androidx.compose.ui.draganddrop.DragAndDropTarget))`(` ` shouldStartDragAndDrop: (startEvent: `[DragAndDropEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/draganddrop/DragAndDropEvent)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` target: `[DragAndDropTarget](https://developer.android.com/reference/kotlin/androidx/compose/ui/draganddrop/DragAndDropTarget) ` )` A modifier that allows for receiving from a drag and drop gesture. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[excludeFromSystemGesture](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).excludeFromSystemGesture())~~`()` **This function is deprecated.** Use systemGestureExclusion |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[excludeFromSystemGesture](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).excludeFromSystemGesture(kotlin.Function1))~~`(` ` exclusion: (`[LayoutCoordinates](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutCoordinates)`) `->` `[Rect](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Rect) ` )` **This function is deprecated.** Use systemGestureExclusion |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[preferredFrameRate](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).preferredFrameRate(androidx.compose.ui.FrameRateCategory))`(frameRateCategory: `[FrameRateCategory](https://developer.android.com/reference/kotlin/androidx/compose/ui/FrameRateCategory)`)` Set a requested frame rate on Composable |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[preferredFrameRate](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).preferredFrameRate(kotlin.Float))`(` ` frameRate: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 360.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) ` )` Set a requested frame rate on Composable |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[handwritingDetector](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).handwritingDetector(kotlin.Function0))`(callback: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Configures an element to act as a handwriting detector which detects stylus handwriting and delegates handling of the recognised text to another element. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[handwritingHandler](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).handwritingHandler())`()` Configures an element to act as a stylus handwriting handler which can handle text input from a handwriting session which was triggered by stylus handwriting on a handwriting detector. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[hoverable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).hoverable(androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Boolean))`(` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Configure component to be hoverable via pointer enter/exit events. |
| Scope: **Any** `inline ` | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[inspectable](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).inspectable(kotlin.Function1,kotlin.Function1))~~`(` ` noinline inspectorInfo: `[InspectorInfo](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`,` ` factory: `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.() `->` `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) ` )` **This function is deprecated.** This API will create more invalidations of your modifier than necessary, so it's use is discouraged. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[keepScreenOn](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).keepScreenOn())`()` A modifier that keeps the device screen on as long as it is part of the composition on supported platforms. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[layoutBounds](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).layoutBounds(androidx.compose.ui.layout.LayoutBoundsHolder))`(holder: `[LayoutBoundsHolder](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutBoundsHolder)`)` This will map the [RelativeLayoutBounds](https://developer.android.com/reference/kotlin/androidx/compose/ui/spatial/RelativeLayoutBounds) of the modifier into the provided [LayoutBoundsHolder](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutBoundsHolder). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[approachLayout](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).approachLayout(kotlin.Function1,kotlin.Function2,kotlin.Function3))`(` ` isMeasurementApproachInProgress: (lookaheadSize: `[IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` isPlacementApproachInProgress: `[Placeable.PlacementScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Placeable.PlacementScope)`.(lookaheadCoordinates: `[LayoutCoordinates](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutCoordinates)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` approachMeasure: `[ApproachMeasureScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/ApproachMeasureScope)`.(measurable: `[Measurable](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Measurable)`, constraints: `[Constraints](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints)`) `->` `[MeasureResult](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/MeasureResult) ` )` Creates an approach layout intended to help gradually approach the destination layout calculated in the lookahead pass. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[magnifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).magnifier(kotlin.Function1,kotlin.Function1,kotlin.Function1,kotlin.Float,androidx.compose.ui.unit.DpSize,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,kotlin.Boolean))`(` ` sourceCenter: `[Density](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density)`.() `->` `[Offset](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset)`,` ` magnifierCenter: (`[Density](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density)`.() `->` `[Offset](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset)`)?,` ` onSizeChanged: ((`[DpSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)?,` ` zoom: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` size: `[DpSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize)`,` ` cornerRadius: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` elevation: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` clip: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Shows a [Magnifier](https://developer.android.com/reference/android/widget/Magnifier.html) widget that shows an enlarged version of the content at [sourceCenter](https://developer.android.com/reference/kotlin/androidx/compose/foundation/package-summary#(androidx.compose.ui.Modifier).magnifier(kotlin.Function1,kotlin.Function1,kotlin.Function1,kotlin.Float,androidx.compose.ui.unit.DpSize,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,kotlin.Boolean)) relative to the current layout node. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[modifierLocalConsumer](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).modifierLocalConsumer(kotlin.Function1))`(consumer: `[ModifierLocalReadScope](https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/ModifierLocalReadScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` A Modifier that can be used to consume [ModifierLocal](https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/ModifierLocal)s that were provided by other modifiers to the left of this modifier, or above this modifier in the layout tree. |
| Scope: **Any** | `<T : `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?> `[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[modifierLocalProvider](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).modifierLocalProvider(androidx.compose.ui.modifier.ProvidableModifierLocal,kotlin.Function0))`(` ` key: `[ProvidableModifierLocal](https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/ProvidableModifierLocal)`<T>,` ` value: () `->` T` ` )` A Modifier that can be used to provide [ModifierLocal](https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/ModifierLocal)s that can be read by other modifiers to the right of this modifier, or modifiers that are children of the layout node that this modifier is attached to. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onFirstVisible](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onFirstVisible(kotlin.Long,kotlin.Float,androidx.compose.ui.layout.LayoutBoundsHolder,kotlin.Function0))`(` ` minDurationMs: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` minFractionVisible: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` viewportBounds: `[LayoutBoundsHolder](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutBoundsHolder)`?,` ` callback: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Registers a callback to monitor when the node is first inside of the viewport of the window or not. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onLayoutRectChanged](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onLayoutRectChanged(kotlin.Long,kotlin.Long,kotlin.Function1))`(` ` throttleMillis: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` debounceMillis: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` callback: (`[RelativeLayoutBounds](https://developer.android.com/reference/kotlin/androidx/compose/ui/spatial/RelativeLayoutBounds)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Invokes [callback](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/package-summary#(androidx.compose.ui.Modifier).onLayoutRectChanged(kotlin.Long,kotlin.Long,kotlin.Function1)) with the position of this layout node relative to the coordinate system of the root of the composition, as well as in screen coordinates and window coordinates. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onPlaced](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onPlaced(kotlin.Function1))`(onPlaced: (`[LayoutCoordinates](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutCoordinates)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Invoke [onPlaced](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/package-summary#(androidx.compose.ui.Modifier).onPlaced(kotlin.Function1)) after the parent [LayoutModifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutModifier) and parent layout has been placed and before child [LayoutModifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutModifier) is placed. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onVisibilityChanged](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onVisibilityChanged(kotlin.Long,kotlin.Float,androidx.compose.ui.layout.LayoutBoundsHolder,kotlin.Function1))`(` ` minDurationMs: @`[IntRange](https://developer.android.com/reference/kotlin/androidx/annotation/IntRange)`(from = 0) `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` minFractionVisible: @`[FloatRange](https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange)`(from = 0.0, to = 1.0) `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` viewportBounds: `[LayoutBoundsHolder](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutBoundsHolder)`?,` ` callback: (`[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Registers a callback to monitor whether or not the node is inside of the viewport of the window or not. |
| Scope: **Any** | `@`[ExperimentalWearMaterialApi](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/ExperimentalWearMaterialApi) ` @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[placeholder](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).placeholder(androidx.wear.compose.material.PlaceholderState,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color))`(` ` placeholderState: `[PlaceholderState](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PlaceholderState)`,` ` shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`,` ` color: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color) ` )` Draws a placeholder shape over the top of a composable and animates a wipe off effect to remove the placeholder. |
| Scope: **Any** | `@`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[placeholder](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).placeholder(androidx.wear.compose.material3.PlaceholderState,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color))`(` ` placeholderState: `[PlaceholderState](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/PlaceholderState)`,` ` shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`,` ` color: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color) ` )` Modifier.placeholder draws a skeleton shape over a component, for situations when no provisional content (such as cached data) is available. |
| Scope: **Any** | `@`[ExperimentalWearMaterialApi](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/ExperimentalWearMaterialApi) ` @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[placeholderShimmer](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).placeholderShimmer(androidx.wear.compose.material.PlaceholderState,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color))`(` ` placeholderState: `[PlaceholderState](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PlaceholderState)`,` ` shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`,` ` color: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color) ` )` Modifier to draw a placeholder shimmer over a component. |
| Scope: **Any** | `@`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[placeholderShimmer](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).placeholderShimmer(androidx.wear.compose.material3.PlaceholderState,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color))`(` ` placeholderState: `[PlaceholderState](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/PlaceholderState)`,` ` shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`,` ` color: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color) ` )` Modifier.placeholderShimmer draws a periodic shimmer over content, indicating to the user that contents are loading or potentially out of date. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[stylusHoverIcon](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).stylusHoverIcon(androidx.compose.ui.input.pointer.PointerIcon,kotlin.Boolean,androidx.compose.ui.node.DpTouchBoundsExpansion))`(` ` icon: `[PointerIcon](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/PointerIcon)`,` ` overrideDescendants: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` touchBoundsExpansion: `[DpTouchBoundsExpansion](https://developer.android.com/reference/kotlin/androidx/compose/ui/node/DpTouchBoundsExpansion)`?` ` )` Modifier that lets a developer define a pointer icon to display when a stylus is hovered over the element. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[motionEventSpy](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).motionEventSpy(kotlin.Function1))`(watcher: (motionEvent: `[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Calls [watcher](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/package-summary#(androidx.compose.ui.Modifier).motionEventSpy(kotlin.Function1)) with each [MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html) that the layout area or any child [pointerInput](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/package-summary#(androidx.compose.ui.Modifier).pointerInput(kotlin.coroutines.SuspendFunction1)) receives. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[preferKeepClear](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).preferKeepClear())`()` Mark the layout rectangle as preferring to stay clear of floating windows. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[preferKeepClear](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).preferKeepClear(kotlin.Function1))`(rectProvider: (`[LayoutCoordinates](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutCoordinates)`) `->` `[Rect](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Rect)`)` Mark a rectangle within the local layout coordinates preferring to stay clear of floating windows. |
| Scope: **Any** | `@`[ExperimentalMaterialApi](https://developer.android.com/reference/kotlin/androidx/compose/material/ExperimentalMaterialApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[pullRefreshIndicatorTransform](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pullRefreshIndicatorTransform(androidx.compose.material.pullrefresh.PullRefreshState,kotlin.Boolean))`(` ` state: `[PullRefreshState](https://developer.android.com/reference/kotlin/androidx/compose/material/pullrefresh/PullRefreshState)`,` ` scale: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` A modifier for translating the position and scaling the size of a pull-to-refresh indicator based on the given [PullRefreshState](https://developer.android.com/reference/kotlin/androidx/compose/material/pullrefresh/PullRefreshState). |
| Scope: **Any** | `@`[ExperimentalMaterialApi](https://developer.android.com/reference/kotlin/androidx/compose/material/ExperimentalMaterialApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[pullRefresh](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pullRefresh(androidx.compose.material.pullrefresh.PullRefreshState,kotlin.Boolean))`(state: `[PullRefreshState](https://developer.android.com/reference/kotlin/androidx/compose/material/pullrefresh/PullRefreshState)`, enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` A nested scroll modifier that provides scroll events to [state](https://developer.android.com/reference/kotlin/androidx/compose/material/pullrefresh/package-summary#(androidx.compose.ui.Modifier).pullRefresh(androidx.compose.material.pullrefresh.PullRefreshState,kotlin.Boolean)). |
| Scope: **Any** | `@`[ExperimentalMaterialApi](https://developer.android.com/reference/kotlin/androidx/compose/material/ExperimentalMaterialApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[pullRefresh](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pullRefresh(kotlin.Function1,kotlin.coroutines.SuspendFunction1,kotlin.Boolean))`(` ` onPull: (pullDelta: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`) `->` `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` onRelease: suspend (flingVelocity: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`) `->` `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` A nested scroll modifier that provides [onPull](https://developer.android.com/reference/kotlin/androidx/compose/material/pullrefresh/package-summary#(androidx.compose.ui.Modifier).pullRefresh(kotlin.Function1,kotlin.coroutines.SuspendFunction1,kotlin.Boolean)) and [onRelease](https://developer.android.com/reference/kotlin/androidx/compose/material/pullrefresh/package-summary#(androidx.compose.ui.Modifier).pullRefresh(kotlin.Function1,kotlin.coroutines.SuspendFunction1,kotlin.Boolean)) callbacks to aid building custom pull refresh components. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[pullToRefresh](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).pullToRefresh(kotlin.Boolean,androidx.compose.material3.pulltorefresh.PullToRefreshState,kotlin.Boolean,androidx.compose.ui.unit.Dp,kotlin.Function0))`(` ` isRefreshing: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` state: `[PullToRefreshState](https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/PullToRefreshState)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` threshold: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`,` ` onRefresh: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` A Modifier that adds nested scroll to a container to support a pull-to-refresh gesture. |
| Scope: **Any** | `@`[ExperimentalFoundationApi](https://developer.android.com/reference/kotlin/androidx/compose/foundation/ExperimentalFoundationApi) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[contentReceiver](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).contentReceiver(androidx.compose.foundation.content.ReceiveContentListener))`(` ` receiveContentListener: `[ReceiveContentListener](https://developer.android.com/reference/kotlin/androidx/compose/foundation/content/ReceiveContentListener) ` )` Configures the current node and any children nodes as a Content Receiver. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fitInside](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).fitInside(androidx.compose.ui.layout.RectRulers))`(rulers: `[RectRulers](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/RectRulers)`)` Fits the contents within [rulers](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).fitInside(androidx.compose.ui.layout.RectRulers)). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[fitOutside](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).fitOutside(androidx.compose.ui.layout.RectRulers))`(rulers: `[RectRulers](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/RectRulers)`)` If one of the [Ruler](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Ruler)s in [rulers](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).fitOutside(androidx.compose.ui.layout.RectRulers)) has a value within the bounds of the Layout, this sizes the content to that [Ruler](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Ruler) and the edge. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[sensitiveContent](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).sensitiveContent(kotlin.Boolean))`(isContentSensitive: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` This modifier hints that the composable renders sensitive content (i.e. username, password, credit card etc) on the screen, and the content should be protected during screen share in supported environments. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onInterceptKeyBeforeSoftKeyboard](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onInterceptKeyBeforeSoftKeyboard(kotlin.Function1))`(` ` onInterceptKeyBeforeSoftKeyboard: (`[KeyEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/key/KeyEvent)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Adding this [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) to the [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) parameter of a component will allow it to intercept hardware key events before they are sent to the software keyboard. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onPreInterceptKeyBeforeSoftKeyboard](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onPreInterceptKeyBeforeSoftKeyboard(kotlin.Function1))`(` ` onPreInterceptKeyBeforeSoftKeyboard: (`[KeyEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/key/KeyEvent)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Adding this [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) to the [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) parameter of a component will allow it to intercept hardware key events before they are sent to the software keyboard. |
| Scope: **Any** | `@`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[surface](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).surface(kotlin.Boolean,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.xr.glimmer.SurfaceDepth,androidx.compose.foundation.BorderStroke,androidx.compose.foundation.interaction.MutableInteractionSource))`(` ` focusable: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`,` ` color: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`,` ` contentColor: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`,` ` depth: `[SurfaceDepth](https://developer.android.com/reference/kotlin/androidx/xr/glimmer/SurfaceDepth)`?,` ` border: `[BorderStroke](https://developer.android.com/reference/kotlin/androidx/compose/foundation/BorderStroke)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?` ` )` A surface is a fundamental building block in Glimmer. |
| Scope: **Any** | `@`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[surface](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).surface(kotlin.Boolean,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.xr.glimmer.SurfaceDepth,androidx.compose.foundation.BorderStroke,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0))`(` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` shape: `[Shape](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)`,` ` color: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`,` ` contentColor: `[Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)`,` ` depth: `[SurfaceDepth](https://developer.android.com/reference/kotlin/androidx/xr/glimmer/SurfaceDepth)`?,` ` border: `[BorderStroke](https://developer.android.com/reference/kotlin/androidx/compose/foundation/BorderStroke)`?,` ` interactionSource: `[MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource)`?,` ` onClick: () `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` A surface is a fundamental building block in Glimmer. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[edgeSwipeToDismiss](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).edgeSwipeToDismiss(androidx.wear.compose.material.SwipeToDismissBoxState,androidx.compose.ui.unit.Dp))~~`(` ` swipeToDismissBoxState: `[SwipeToDismissBoxState](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/SwipeToDismissBoxState)`,` ` edgeWidth: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp) ` )` **This function is deprecated.** SwipeToDismiss has been migrated to androidx.wear.compose.foundation. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[systemGestureExclusion](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).systemGestureExclusion())`()` Excludes the layout rectangle from the system gesture. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[systemGestureExclusion](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).systemGestureExclusion(kotlin.Function1))`(exclusion: (`[LayoutCoordinates](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutCoordinates)`) `->` `[Rect](https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Rect)`)` Excludes a rectangle within the local layout coordinates from the system gesture. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[appendTextContextMenuComponents](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).appendTextContextMenuComponents(kotlin.Function1))`(builder: `[TextContextMenuBuilderScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/contextmenu/builder/TextContextMenuBuilderScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` Adds a [builder](https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/contextmenu/modifier/package-summary#(androidx.compose.ui.Modifier).appendTextContextMenuComponents(kotlin.Function1)) to be run when the text context menu is shown within this hierarchy. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[filterTextContextMenuComponents](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).filterTextContextMenuComponents(kotlin.Function1))`(` ` filter: (`[TextContextMenuComponent](https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/TextContextMenuComponent)`) `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Adds a [filter](https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/contextmenu/modifier/package-summary#(androidx.compose.ui.Modifier).filterTextContextMenuComponents(kotlin.Function1)) to be run when the text context menu is shown within this hierarchy. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[consumeWindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).consumeWindowInsets(androidx.compose.foundation.layout.WindowInsets))`(insets: `[WindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets)`)` Consume insets that haven't been consumed yet by other insets Modifiers similar to [windowInsetsPadding](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).windowInsetsPadding(androidx.compose.foundation.layout.WindowInsets)) without adding any padding. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[consumeWindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).consumeWindowInsets(androidx.compose.foundation.layout.PaddingValues))`(paddingValues: `[PaddingValues](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues)`)` Consume [paddingValues](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).consumeWindowInsets(androidx.compose.foundation.layout.PaddingValues)) as insets as if the padding was added irrespective of insets. |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[onConsumedWindowInsetsChanged](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onConsumedWindowInsetsChanged(kotlin.Function1))`(` ` block: (consumedWindowInsets: `[WindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets)`) `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) ` )` Calls [block](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).onConsumedWindowInsetsChanged(kotlin.Function1)) with the [WindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets) that have been consumed, either by [consumeWindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).consumeWindowInsets(androidx.compose.foundation.layout.WindowInsets)) or one of the padding Modifiers, such as [imePadding](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.ui.Modifier).imePadding()). |
| Scope: **Any** | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[recalculateWindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).recalculateWindowInsets())`()` This recalculates the [WindowInsets](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/WindowInsets) based on the size and position. |
| Scope: ` `[SharedTransitionScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[renderInSharedTransitionScopeOverlay](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).renderInSharedTransitionScopeOverlay(kotlin.Float,kotlin.Function0))`(` ` zIndexInOverlay: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` renderInOverlay: () `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Renders the content in the [SharedTransitionScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope)'s overlay, where shared content (i.e. shared elements and shared bounds) is rendered by default. |
| Scope: ` `[SharedTransitionScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[sharedBounds](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).sharedBounds(androidx.compose.animation.SharedTransitionScope.SharedContentState,androidx.compose.animation.AnimatedVisibilityScope,androidx.compose.animation.EnterTransition,androidx.compose.animation.ExitTransition,androidx.compose.animation.BoundsTransform,androidx.compose.animation.SharedTransitionScope.ResizeMode,androidx.compose.animation.SharedTransitionScope.PlaceholderSize,kotlin.Boolean,kotlin.Float,androidx.compose.animation.SharedTransitionScope.OverlayClip))`(` ` sharedContentState: `[SharedTransitionScope.SharedContentState](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.SharedContentState)`,` ` animatedVisibilityScope: `[AnimatedVisibilityScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/AnimatedVisibilityScope)`,` ` enter: `[EnterTransition](https://developer.android.com/reference/kotlin/androidx/compose/animation/EnterTransition)`,` ` exit: `[ExitTransition](https://developer.android.com/reference/kotlin/androidx/compose/animation/ExitTransition)`,` ` boundsTransform: `[BoundsTransform](https://developer.android.com/reference/kotlin/androidx/compose/animation/BoundsTransform)`,` ` resizeMode: `[SharedTransitionScope.ResizeMode](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.ResizeMode)`,` ` placeholderSize: `[SharedTransitionScope.PlaceholderSize](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.PlaceholderSize)`,` ` renderInOverlayDuringTransition: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` zIndexInOverlay: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` clipInOverlayDuringTransition: `[SharedTransitionScope.OverlayClip](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.OverlayClip) ` )` [sharedBounds](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).sharedBounds(androidx.compose.animation.SharedTransitionScope.SharedContentState,androidx.compose.animation.AnimatedVisibilityScope,androidx.compose.animation.EnterTransition,androidx.compose.animation.ExitTransition,androidx.compose.animation.BoundsTransform,androidx.compose.animation.SharedTransitionScope.ResizeMode,androidx.compose.animation.SharedTransitionScope.PlaceholderSize,kotlin.Boolean,kotlin.Float,androidx.compose.animation.SharedTransitionScope.OverlayClip)) is a modifier that tags a layout with a [SharedContentState.key](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.SharedContentState#key()), such that entering and exiting shared bounds of the same key share the animated and continuously changing bounds during the layout change. |
| Scope: ` `[SharedTransitionScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[sharedElement](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).sharedElement(androidx.compose.animation.SharedTransitionScope.SharedContentState,androidx.compose.animation.AnimatedVisibilityScope,androidx.compose.animation.BoundsTransform,androidx.compose.animation.SharedTransitionScope.PlaceholderSize,kotlin.Boolean,kotlin.Float,androidx.compose.animation.SharedTransitionScope.OverlayClip))`(` ` sharedContentState: `[SharedTransitionScope.SharedContentState](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.SharedContentState)`,` ` animatedVisibilityScope: `[AnimatedVisibilityScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/AnimatedVisibilityScope)`,` ` boundsTransform: `[BoundsTransform](https://developer.android.com/reference/kotlin/androidx/compose/animation/BoundsTransform)`,` ` placeholderSize: `[SharedTransitionScope.PlaceholderSize](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.PlaceholderSize)`,` ` renderInOverlayDuringTransition: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` zIndexInOverlay: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` clipInOverlayDuringTransition: `[SharedTransitionScope.OverlayClip](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.OverlayClip) ` )` [sharedElement](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).sharedElement(androidx.compose.animation.SharedTransitionScope.SharedContentState,androidx.compose.animation.AnimatedVisibilityScope,androidx.compose.animation.BoundsTransform,androidx.compose.animation.SharedTransitionScope.PlaceholderSize,kotlin.Boolean,kotlin.Float,androidx.compose.animation.SharedTransitionScope.OverlayClip)) is a modifier that tags a layout with a [SharedContentState.key](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.SharedContentState#key()), such that entering and exiting shared elements of the same key share the animated and continuously changing bounds during the layout change. |
| Scope: ` `[SharedTransitionScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[sharedElementWithCallerManagedVisibility](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).sharedElementWithCallerManagedVisibility(androidx.compose.animation.SharedTransitionScope.SharedContentState,kotlin.Boolean,androidx.compose.animation.BoundsTransform,androidx.compose.animation.SharedTransitionScope.PlaceholderSize,kotlin.Boolean,kotlin.Float,androidx.compose.animation.SharedTransitionScope.OverlayClip))`(` ` sharedContentState: `[SharedTransitionScope.SharedContentState](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.SharedContentState)`,` ` visible: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` boundsTransform: `[BoundsTransform](https://developer.android.com/reference/kotlin/androidx/compose/animation/BoundsTransform)`,` ` placeholderSize: `[SharedTransitionScope.PlaceholderSize](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.PlaceholderSize)`,` ` renderInOverlayDuringTransition: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` zIndexInOverlay: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` clipInOverlayDuringTransition: `[SharedTransitionScope.OverlayClip](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.OverlayClip) ` )` [sharedElementWithCallerManagedVisibility](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).sharedElementWithCallerManagedVisibility(androidx.compose.animation.SharedTransitionScope.SharedContentState,kotlin.Boolean,androidx.compose.animation.BoundsTransform,androidx.compose.animation.SharedTransitionScope.PlaceholderSize,kotlin.Boolean,kotlin.Float,androidx.compose.animation.SharedTransitionScope.OverlayClip)) is a modifier that tags a layout with a [SharedContentState.key](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope.SharedContentState#key()), such that entering and exiting shared elements of the same key share the animated and continuously changing bounds during the layout change. |
| Scope: ` `[SharedTransitionScope](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope) `open ` | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[skipToLookaheadPosition](https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope#(androidx.compose.ui.Modifier).skipToLookaheadPosition(kotlin.Function0))`(enabled: () `->` `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` A modifier that anchors a layout at the target position obtained from the lookahead pass during shared element transitions. |
| Scope: ` `[ExposedDropdownMenuBoxScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuBoxScope) | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.` ~~[menuAnchor](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuBoxScope#(androidx.compose.ui.Modifier).menuAnchor())~~`()` **This function is deprecated.** Use overload that takes ExposedDropdownMenuAnchorType and enabled parameters |
| Scope: ` `[ExposedDropdownMenuBoxScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuBoxScope) `abstract ` | [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[menuAnchor](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuBoxScope#(androidx.compose.ui.Modifier).menuAnchor(androidx.compose.material3.ExposedDropdownMenuAnchorType,kotlin.Boolean))`(` ` type: `[ExposedDropdownMenuAnchorType](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuAnchorType)`,` ` enabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) ` )` Modifier which should be applied to an element inside the [ExposedDropdownMenuBoxScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuBoxScope), typically a text field or an icon within the text field. |
| Scope: ` `[PaneScaffoldScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope) | `@`[ExperimentalMaterial3AdaptiveApi](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/ExperimentalMaterial3AdaptiveApi) ` @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[paneMargins](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope#(androidx.compose.ui.Modifier).paneMargins(kotlin.Array))`(vararg insets: `[RectRulers](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/RectRulers)`)` This modifier specifies the associated pane's margins according to the provided [RectRulers](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/RectRulers) as insets. |
| Scope: ` `[PaneScaffoldScope](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope) | `@`[ExperimentalMaterial3AdaptiveApi](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/ExperimentalMaterial3AdaptiveApi) ` @`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) [Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier)`.`[paneMargins](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneScaffoldScope#(androidx.compose.ui.Modifier).paneMargins(androidx.compose.foundation.layout.PaddingValues,kotlin.Array))`(` ` fixedMargins: `[PaddingValues](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues)`,` ` vararg insets: `[RectRulers](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/RectRulers) ` )` This modifier specifies the associated pane's margins according to specified fixed margins and the provided [RectRulers](https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/RectRulers) as insets, if any. |