# androidx.compose.foundation.style

Common/All

## Interfaces

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/AlphaScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/AlphaScope#alpha(kotlin.Float)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/AnimateStyleScope` | An interface that introduces `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/AnimateStyleScope#animate(androidx.compose.animation.core.AnimationSpec,androidx.compose.animation.core.AnimationSpec,kotlin.Function0)` functions to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BackgroundScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BackgroundScope#background(androidx.compose.ui.graphics.Color)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BaselineShiftScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BaselineShiftScope#baselineShift(androidx.compose.ui.text.style.BaselineShift)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BorderScope` | An interface that introduces border properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope interface. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ClipScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ClipScope#clip(kotlin.Boolean)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ColorFilterScope` | An interface the introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ColorFilterScope#colorFilter(androidx.compose.ui.graphics.ColorFilter)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` is the style all style types must be converted to be resolved by the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyleScope` | A `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyleScope` is the scope used by a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentColorScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentColorScope#contentColor(androidx.compose.ui.graphics.Color)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.ui.unit.Dp)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope interface. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CustomStyle` | A base type for custom styles including `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CustomStyleScope` | An interface that is the base interface for all styles scopes. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/DrawStyleScope` | An interface that introduces the drawing property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPadding(androidx.compose.ui.unit.Dp)` properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope interface. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontFamilyScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontFamilyScope#fontFamily(androidx.compose.ui.text.font.FontFamily)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontSizeScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontSizeScope#fontSize(androidx.compose.ui.unit.TextUnit)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontStyleScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontStyleScope#fontStyle(androidx.compose.ui.text.font.FontStyle)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontSynthesisScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontSynthesisScope#fontSynthesis(androidx.compose.ui.text.font.FontSynthesis)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontWeightScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/FontWeightScope#fontWeight(androidx.compose.ui.text.font.FontWeight)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ForegroundScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ForegroundScope#foreground(androidx.compose.ui.graphics.Color)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/HyphensScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/HyphensScope#hyphens(androidx.compose.ui.text.style.Hyphens)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/LayerStyleScope` | An interface that introduces the graphics layer property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/LayoutStyleScope` | An interface that introduces the layout properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/LetterSpacingScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/LetterSpacingScope#letterSpacing(androidx.compose.ui.unit.TextUnit)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/LineBreakScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/LineBreakScope#lineBreak(androidx.compose.ui.text.style.LineBreak)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/LineHeightScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/LineHeightScope#lineHeight(androidx.compose.ui.unit.TextUnit)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MaxSizeScope` | An interface that introduces `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MaxSizeScope#maxWidth(androidx.compose.ui.unit.Dp)` and `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MaxSizeScope#maxHeight(androidx.compose.ui.unit.Dp)` properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MinSizeScope` | An interface that introduces min size properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope interface. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/NestedStyleConsumerStyleScope` | A scope that allows applying a style defined in a parent style. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/NestedStyleProviderStyleScope` | A scope that allows providing a nested style that will be read and used by a nested styleable composable function. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/PositionScope` | An interface that introduces position properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope interface. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/RotationScope` | An interface that introduces the rotation properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleX(kotlin.Float)` and `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleY(kotlin.Float)` properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ShadowScope` | An interface that introduces the shadow properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ShapeScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ShapeScope#shape(androidx.compose.ui.graphics.Shape)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/SizeScope` | An interface that introduces size properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope interface. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` | Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleLayerScope` | Introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleLayerScope#styleLayer(kotlin.Function0)` method that allows styles to create a style property layer. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StylePropertyAccessorScope` | Provides access to resolved style property values. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StylePropertyProviderScope` | Provides scope for declaring or overriding style property values. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolverScope` | The type of the scope of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver#resolve(kotlin.Function1)` that allows the `block` to read the fully resolved values from a style. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleScope` | A `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleScope` is the receiver scope of a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` lambda. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope#state(androidx.compose.foundation.style.StyleStateKey,kotlin.Function0,kotlin.Function2)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextAlignScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextAlignScope#textAlign(androidx.compose.ui.text.style.TextAlign)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextDecorationScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextDecorationScope#textDecoration(androidx.compose.ui.text.style.TextDecoration)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextDirectionScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextDirectionScope#textDirection(androidx.compose.ui.text.style.TextDirection)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextIndentScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextIndentScope#textIndent(androidx.compose.ui.text.style.TextIndent)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextMotionScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextMotionScope#textMotion(androidx.compose.ui.text.style.TextMotion)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextStyleScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextStyleScope#textStyle(androidx.compose.ui.text.TextStyle)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TextStyleStyleScope` | An interface that introduces the text property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TransformOriginScope` | An interface that introduces the transform origin properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TranslationScope` | An interface that introduces the translation properties to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ZIndexScope` | An interface that introduces the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ZIndexScope#zIndex(kotlin.Float)` property to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` receiver scope. | Cmn |

## Classes

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/AppearanceScope` | The scope of the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/appearance.modifier#(androidx.compose.ui.Modifier).appearance(kotlin.Function1)` in the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/appearance.modifier#(androidx.compose.ui.Modifier).appearance(kotlin.Function1)` modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Breadth` | Specifies dimension breadths for styling. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Breadth.Distance` | Specifies absolute breadth in `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Breadth.Fraction` | Specifies relative breadth as a fraction of available space. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Breadth.None` | Represents an empty or unspecified breadth. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill` | Specifies visual fill for styling. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill.Brush` | Fills with a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/GraphicsBrush`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill.Color` | Fills with a solid `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/GraphicsColor`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill.None` | Represents an empty fill with no visual representation. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MutableStyleState` | The state a style that can be updated to reflect the current state of a component. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/NestedStyleKey` | A key used to identify a style that is being defined by a parent style or applied by a nested styleable composable. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/PlacementModifierScope` | The scope to the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/placement.modifier#(androidx.compose.ui.Modifier).placement(kotlin.Function1)` callback in of the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/placement.modifier#(androidx.compose.ui.Modifier).placement(kotlin.Function1)` modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ProvidableStyleProperty` | Defines a style property whose value can be provided within a style scope. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Shadows` | Specifies shadow configurations for styling. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Shadows.Compound` | Configures multiple stacked `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow`s. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Shadows.Simple` | Configures a single `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleProperty` | Identifies a style property used in style definitions. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver` | A resolver that will resolve the properties of a given style lambda. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState` | The state a style can use to select property values depending on the state of the component is a style for. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateKey` | The key to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState` value. | Cmn |

## Objects

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle.Companion` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style.Companion` |   | Cmn |

## Annotations

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleScopeMarker` | A `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-dsl-marker/index.html` used to ensure that properties excluded by a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CustomStyleScope` do not resolve to the outer scope. | Cmn |

## Composables

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/rememberUpdatedStyleState.composable` | Create, remember and update a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState` for use as a parameter of a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleable.modifier#(androidx.compose.ui.Modifier).styleable(androidx.compose.foundation.style.StyleResolver)` modifier. | Cmn |

## Modifiers

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/appearance.modifier` | A modifier that allows drawing a background, border, foreground, and shadows with a single modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/graphicsLayer.modifier` | A `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.Node` that makes content draw into a draw layer. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/placement.modifier` | Declares a callback, `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).placement(kotlin.Function1)`, that allows controlling size and placement.The incoming measurement `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints` may override values provided by `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).placement(kotlin.Function1)`, forcing the content to be either smaller or larger. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleAppearance.modifier` | Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleBorderPadding.modifier` | Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleContentPadding.modifier` | Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleExternalPadding.modifier` | Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleGraphicsLayer.modifier` | Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/stylePlacement.modifier` | Maps properties set in a style and resolved by `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).stylePlacement(androidx.compose.foundation.style.StyleResolver)` to values passed to the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/placement.modifier#(androidx.compose.ui.Modifier).placement(kotlin.Function1)` modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleResolver.modifier` | A modifier that binds a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver` to the location in the composition it should resolve properties. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleable.modifier` | Transitionary modifier. | Cmn |

## Top-level functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Breadth` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(androidx.compose.ui.unit.Dp)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Create a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(androidx.compose.ui.unit.Dp)` with a distance value of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(androidx.compose.ui.unit.Dp)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Breadth` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(kotlin.Float)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Create a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(kotlin.Float)` with a fraction value of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(kotlin.Float)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)(style1: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle, style2: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle)` Produce a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` by merging `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` and `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` where `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` will apply before `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle,kotlin.Array)( style1: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle, style2: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle, vararg styles: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle )` Produce a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle,kotlin.Array)` that merges all the style parameters together in the order they are provided. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(androidx.compose.ui.graphics.Brush)(brush: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush)` Creates a brush `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(androidx.compose.ui.graphics.Brush)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(androidx.compose.ui.graphics.Color)(color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)` Creates a solid color `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(androidx.compose.ui.graphics.Color)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill?` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(kotlin.Any)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` Converts `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(kotlin.Any)` to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(kotlin.Any)` if it is a supported fill type. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Shadows` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(androidx.compose.ui.graphics.shadow.Shadow)(shadow: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow)` Creates a single `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(androidx.compose.ui.graphics.shadow.Shadow)` configuration. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Shadows` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(kotlin.Array)(vararg shadows: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow)` Creates a compound `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(kotlin.Array)` configuration from multiple shadows. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Shadows?` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(kotlin.Any)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` Converts `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(kotlin.Any)` to `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(kotlin.Any)` if it is a valid shadow representation. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Style(kotlin.Array)(vararg styles: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style)` Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Style(androidx.compose.foundation.style.Style,androidx.compose.foundation.style.Style)(style1: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style, style2: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style)` Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Style(androidx.compose.foundation.style.Style,androidx.compose.foundation.style.Style,androidx.compose.foundation.style.Style)(style1: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style, style2: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style, style3: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style)` Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#lerp(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,kotlin.Float)(a: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, b: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` A `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#lerp(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,kotlin.Float)` function that allows animating a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` type. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#lerp(androidx.compose.ui.unit.TextUnit,androidx.compose.ui.unit.TextUnit,kotlin.Float)(a: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit, b: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit, t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` A `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#lerp(androidx.compose.ui.unit.TextUnit,androidx.compose.ui.unit.TextUnit,kotlin.Float)` function that allows animating a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit` type. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ProvidableStyleProperty<T>` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi <T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#styleLocalOf(kotlin.String,kotlin.Function3,kotlin.Function0)( name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, interpolate: (a, b, t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) -> T, defaultValue: () -> T )` Creates a new local style property. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ProvidableStyleProperty<T>` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi <T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#stylePropertyOf(kotlin.String,kotlin.Function3,kotlin.Function0)( name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, interpolate: (a, b, t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) -> T, defaultValue: () -> T )` Creates a new style property. | Cmn |

## Extension functions summary

|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/AnimateStyleScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.AnimateStyleScope).animate(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Specifies a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` whose properties will be animated to when they change. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/AnimateStyleScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.AnimateStyleScope).animate(androidx.compose.animation.core.AnimationSpec,kotlin.Function0)(spec: https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>, block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Specifies a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` whose properties will be animated to when they change, using the provided `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec`. | Cmn |
| `inline https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi <ScopeT : https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CustomStyleScope, StyleT : https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CustomStyle<ScopeT>> ScopeT.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.CustomStyleScope).apply(androidx.compose.foundation.style.CustomStyle)( style: StyleT )` Apply `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.CustomStyleScope).apply(androidx.compose.foundation.style.CustomStyle)` to the current `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleScope`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BorderScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.BorderScope).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Brush)(width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, brush: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush)` Sets a border for the component with the specified width and brush. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BorderScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.BorderScope).border(androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.Color)(width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)` Sets a solid border for the component with the specified width and color. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).checked(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isChecked()` is `true`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi <T : https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope & https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocalAccessorScope> T.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.foundation.layout.PaddingValues)( paddingValues: https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues )` Sets the padding for the component's content. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.ui.unit.Dp)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the padding for all four edges (top, end, bottom, start) edges of the component's content. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)(horizontal: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, vertical: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the padding for the vertical (top and bottom) and horizontal (start and end) edges of the component's content. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)(start: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, top: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, end: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, bottom: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the padding for all four edges (top, end, bottom, start) edges of the component's content. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPaddingHorizontal(androidx.compose.ui.unit.Dp)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the padding for the horizontal (start and end) edges of the component's content. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPaddingVertical(androidx.compose.ui.unit.Dp)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the padding for the vertical (start and end) edges of the component's content. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).disabled(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is disabled. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi <T : https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope & https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocalAccessorScope> T.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPadding(androidx.compose.foundation.layout.PaddingValues)( paddingValues: https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues )` Sets the external padding for the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPadding(androidx.compose.ui.unit.Dp)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the external padding for all four edges (top, end, bottom, start) of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPadding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)(horizontal: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, vertical: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the external padding for the vertical (top and bottom) and horizontal (start and end) edges of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPadding(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)( start: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, top: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, end: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, bottom: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp )` Sets the external padding for all four edges (top, end, bottom, start) of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPaddingHorizontal(androidx.compose.ui.unit.Dp)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the external padding for the horizontal (start and end) edges of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPaddingVertical(androidx.compose.ui.unit.Dp)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the external padding for the vertical (start and end) edges of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/SizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).fillHeight()()` Sets the height of the component to fill the parent's available height (equivalent to `height(1.0f)`). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/SizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).fillSize()()` Sets the width and height of the component to fill the parent's available space (equivalent to `width(1.0f)` and `height(1.0f)`). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/SizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).fillWidth()()` Sets the width of the component to fill the parent's available width (equivalent to `width(1.0f)`). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).focused(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is focused. | Cmn |
| `inline T` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi <T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StylePropertyAccessorScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).getOrElse(androidx.compose.foundation.style.StyleProperty,kotlin.Function0)( property: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleProperty<T>, crossinline defaultValue: () -> T )` Returns the resolved value of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).getOrElse(androidx.compose.foundation.style.StyleProperty,kotlin.Function0)` if set, or the result of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).getOrElse(androidx.compose.foundation.style.StyleProperty,kotlin.Function0)`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).hovered(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is hovered. | Cmn |
| `inline https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi <T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StylePropertyAccessorScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSet(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)( property: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleProperty<T>, crossinline block: (T) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` Call `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSet(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` when `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSet(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` has been provided. | Cmn |
| `inline https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi <R : T, T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StylePropertyAccessorScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)( property: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleProperty<T>, crossinline block: (R) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` Call `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` when `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` has been provided and the value is of type `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MaxSizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.MaxSizeScope).maxSize(androidx.compose.ui.unit.DpSize)(size: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize)` Constrains the maximum size (width and height) of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MaxSizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.MaxSizeScope).maxSize(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)(width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, height: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Constrains the maximum width and height of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MinSizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.MinSizeScope).minSize(androidx.compose.ui.unit.DpSize)(size: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize)` Constrains the minimum size (width and height) of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MinSizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.MinSizeScope).minSize(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)(width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, height: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Constrains the minimum width and height of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).pressed(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is pressed. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/RotationScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.RotationScope).rotation(kotlin.Float,kotlin.Float,kotlin.Float)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, z: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Rotates the component around the X-axis, Y-axis and Z-axis (perpendicular to the screen) through its center. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ScaleScope).scale(kotlin.Float)(value: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Scales the component uniformly (both horizontally and vertically) around its center pivot point. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ScaleScope).scale(kotlin.Float,kotlin.Float)( x: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Scales the component uniformly (both horizontally and vertically) around its center pivot point. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).selected(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isSelected()` is `true`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/SizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).size(androidx.compose.ui.unit.Dp)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the preferred width and height of the component to the same value. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/SizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).size(androidx.compose.ui.unit.DpSize)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize)` Sets the preferred width and height of the component using a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize` object. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/SizeScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).size(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)(width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, height: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Sets the preferred width and height of the component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).state(androidx.compose.foundation.style.StyleStateKey,kotlin.Function0)(key: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateKey<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html>, block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` A helper function to implement state reading extension functions such as `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).pressed(kotlin.Function0)` for use with `Boolean` states. | Cmn |
| `infix https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.CommonStyle).then(androidx.compose.foundation.style.CommonStyle)(other: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle)` Merge this style with another style where this style will be applied before the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.CommonStyle).then(androidx.compose.foundation.style.CommonStyle)` style. | Cmn |
| `infix https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.Style).then(androidx.compose.foundation.style.Style)(other: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style)` Transitionary modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.Style).toCommonStyle()()` Transitionary modifier. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TransformOriginScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.TransformOriginScope).transformOrigin(androidx.compose.ui.graphics.TransformOrigin)(value: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/TransformOrigin)` Offset percentage along the x and y-axis for which contents are rotated and scaled. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TranslationScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.TranslationScope).translation(androidx.compose.ui.geometry.Offset)(offset: https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset)` Translates (moves) the component by the given `https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TranslationScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.TranslationScope).translation(kotlin.Float,kotlin.Float)( x: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Translates (moves) the component horizontally and vertically. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).triStateToggleIndeterminate(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#triStateToggle()` is `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState#Indeterminate`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).triStateToggleOff(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#triStateToggle()` is `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState#Off`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).triStateToggleOn(kotlin.Function0)(block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#triStateToggle()` is `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState#On`. | Cmn |

## Extension properties summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush?` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StylePropertyAccessorScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).contentBrush()` Transitionary value. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StylePropertyAccessorScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).contentColor()` Transitionary value. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StylePropertyAccessorScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).contentFill()` Transitionary value. | Cmn |

## Top-level functions

### Breadth

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:Breadth) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Breadth(value: Dp): Breadth
```

Create a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(androidx.compose.ui.unit.Dp)` with a distance value of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(androidx.compose.ui.unit.Dp)`.

### Breadth

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:Breadth) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Breadth(value: Float): Breadth
```

Create a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(kotlin.Float)` with a fraction value of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Breadth(kotlin.Float)`.

### CommonStyle

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/CommonStyle.kt+function:CommonStyle) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun CommonStyle(style1: CommonStyle, style2: CommonStyle): CommonStyle
```

Produce a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` by merging `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` and `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` where `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` will apply before `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)`.

| Parameters |
|---|---|
| `style1: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | the first style to merge that will be applied first. |
| `style2: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | the second style that will be applied second. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | a merged style of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` and `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle)` |

### CommonStyle

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/CommonStyle.kt+function:CommonStyle) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun CommonStyle(
    style1: CommonStyle,
    style2: CommonStyle,
    vararg styles: CommonStyle
): CommonStyle
```

Produce a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle,kotlin.Array)` that merges all the style parameters together in the order they are provided. Merging removes instances of the default empty `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle,kotlin.Array)` as well as flattening the merged styles. For example ```Common(CommonStyle, CommonStyle, someStyle)`` will return ```someStyle\` as the first two parameters are empty.

| Parameters |
|---|---|
| `style1: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | the first style to merge that will be applied first. |
| `style2: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | the second style that will be applied second. |
| `vararg styles: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | the rest of the parameter list that will be applied, in order, after `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#CommonStyle(androidx.compose.foundation.style.CommonStyle,androidx.compose.foundation.style.CommonStyle,kotlin.Array)` |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | a merged style of all the parameters in parameter order. |

### Fill

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:Fill) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Fill(brush: Brush): Fill
```

Creates a brush `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(androidx.compose.ui.graphics.Brush)`.

| Parameters |
|---|---|
| `brush: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush` | gradient or shader brush to fill with |

### Fill

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:Fill) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Fill(color: Color): Fill
```

Creates a solid color `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(androidx.compose.ui.graphics.Color)`.

| Parameters |
|---|---|
| `color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | color to fill with |

### Fill

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:Fill) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Fill(value: Any?): Fill?
```

Converts `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(kotlin.Any)` to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(kotlin.Any)` if it is a supported fill type. Returns `null` otherwise.

| Parameters |
|---|---|
| `value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | object to convert to a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Fill(kotlin.Any)` |

### Shadows

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:Shadows) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Shadows(shadow: Shadow): Shadows
```

Creates a single `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(androidx.compose.ui.graphics.shadow.Shadow)` configuration.

| Parameters |
|---|---|
| `shadow: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow` | shadow details |

### Shadows

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:Shadows) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Shadows(vararg shadows: Shadow): Shadows
```

Creates a compound `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(kotlin.Array)` configuration from multiple shadows.

| Parameters |
|---|---|
| `vararg shadows: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/shadow/Shadow` | list of shadow details |

### Shadows

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:Shadows) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Shadows(value: Any?): Shadows?
```

Converts `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(kotlin.Any)` to `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(kotlin.Any)` if it is a valid shadow representation.

| Parameters |
|---|---|
| `value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | object to convert to `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#Shadows(kotlin.Any)` |

### Style

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/Style.kt+function:Style) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.11.0)

```
@ExperimentalFoundationStyleApi
fun Style(vararg styles: Style): Style
```

Transitionary modifier. Do not use. This will be removed before the Styles API is stable.

Combine multiple Style objects together. Styles whose argument positions are further "to the right" will override styles to the left of them, on a per-property basis.

### Style

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/Style.kt+function:Style) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.11.0)

```
@ExperimentalFoundationStyleApi
fun Style(style1: Style, style2: Style): Style
```

Transitionary modifier. Do not use. This will be removed before the Styles API is stable.

Combine multiple Style objects together. Styles whose argument positions are further "to the right" will override styles to the left of them, on a per-property basis.

### Style

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/Style.kt+function:Style) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.11.0)

```
@ExperimentalFoundationStyleApi
fun Style(style1: Style, style2: Style, style3: Style): Style
```

Transitionary modifier. Do not use. This will be removed before the Styles API is stable.

Combine multiple Style objects together. Styles whose argument positions are further "to the right" will override styles to the left of them, on a per-property basis.

### lerp

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:lerp) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
fun lerp(a: Dp, b: Dp, t: Float): Dp
```

A `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#lerp(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,kotlin.Float)` function that allows animating a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` type.

### lerp

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:lerp) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
fun lerp(a: TextUnit, b: TextUnit, t: Float): TextUnit
```

A `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#lerp(androidx.compose.ui.unit.TextUnit,androidx.compose.ui.unit.TextUnit,kotlin.Float)` function that allows animating a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit` type.

### styleLocalOf

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:styleLocalOf) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun <T : Any?> styleLocalOf(
    name: String,
    interpolate: (a, b, t: Float) -> T = ::defaultInterpolate,
    defaultValue: () -> T
): ProvidableStyleProperty<T>
```

Creates a new local style property.

Local style properties inherit their values down the layout tree hierarchy.

Defining a local style property using `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#styleLocalOf(kotlin.String,kotlin.Function3,kotlin.Function0)` produces a style property that will use a jump-cut halfway through the animation (except if the type implements `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Interpolatable` as described below). Use the `interpolate` instead in order to specify the interpolation function to use for an animatable property.

If the type supports `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Interpolatable`, such as `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush`, `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#styleLocalOf(kotlin.String,kotlin.Function3,kotlin.Function0)` will use the `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Interpolatable` implementation instead of a jump-cut.

| Parameters |
|---|---|
| `name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | debug/tooling name for the property |
| `interpolate: (a, b, t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) -> T = ::defaultInterpolate` | interpolate the values `a` and `b` on `t` which is a fraction between 0f and 1f |
| `defaultValue: () -> T` | fallback value provider when the property is not provided |

### stylePropertyOf

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:stylePropertyOf) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun <T : Any?> stylePropertyOf(
    name: String,
    interpolate: (a, b, t: Float) -> T = ::defaultInterpolate,
    defaultValue: () -> T
): ProvidableStyleProperty<T>
```

Creates a new style property.

Defining a style property using `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#stylePropertyOf(kotlin.String,kotlin.Function3,kotlin.Function0)` produces a style property that will use a jump-cut halfway through the animation (except if the type implements `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Interpolatable` as described below, and a select number of well-known types such as `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp`, `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html`, `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html`, `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html`, `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` and `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit`). For types that do not support `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Interpolatable`, it is recommended that a type specific `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#stylePropertyOf(kotlin.String,kotlin.Function3,kotlin.Function0)` lambda be supplied, even for types like `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` that are handled by default, to specify how to interpolate the values of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#stylePropertyOf(kotlin.String,kotlin.Function3,kotlin.Function0)` during animation.

If the type supports `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Interpolatable`, such as `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush`, `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#stylePropertyOf(kotlin.String,kotlin.Function3,kotlin.Function0)` will use the `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Interpolatable` implementation instead of a jump-cut.

| Parameters |
|---|---|
| `name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | debug/tooling name for the property |
| `interpolate: (a, b, t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) -> T = ::defaultInterpolate` | interpolate the values `a` and `b` on `t` which is a fraction between 0f and 1f |
| `defaultValue: () -> T` | fallback value provider when the property is not provided |

## Extension functions

### AnimateStyleScope.animate

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:animate) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun AnimateStyleScope.animate(block: () -> Unit): Unit
```

Specifies a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` whose properties will be animated to when they change. This uses a default animation specification. This allows for smooth transitions between style states without manual animation setup. A `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/package-summary#spring(kotlin.Float,kotlin.Float,kotlin.Any)` will be used for the animation for both animating to and from the style.

| Parameters |
|---|---|
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The target `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` whose properties should be animated. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` |   |

### AnimateStyleScope.animate

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:animate) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun AnimateStyleScope.animate(spec: AnimationSpec<Float>, block: () -> Unit): Unit
```

Specifies a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` whose properties will be animated to when they change, using the provided `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec`. This allows for smooth transitions between style states with custom animation curves. The same animation `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.AnimateStyleScope).animate(androidx.compose.animation.core.AnimationSpec,kotlin.Function0)` will be used for animating both to and from the style.

| Parameters |
|---|---|
| `spec: https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>` | The `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec` to use for the animation. |
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The target `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` whose properties should be animated. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec` |   |

### ScopeT.apply

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:apply) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
inline fun <ScopeT : CustomStyleScope, StyleT : CustomStyle<ScopeT>> ScopeT.apply(
    style: StyleT
): Unit
```

Apply `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.CustomStyleScope).apply(androidx.compose.foundation.style.CustomStyle)` to the current `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleScope`. Applying the scope calls the scope applies any properties set in the scope directly.

| Parameters |
|---|---|
| `style: StyleT` | the style to apply. |

### BorderScope.border

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:border) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun BorderScope.border(width: Dp, brush: Brush): Unit
```

Sets a border for the component with the specified width and brush. The border is drawn on top of the background and the padded content. The border itself does not contribute to the component's layout size (width/height).

Specifying a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp#Unspecified()` width will remove the border.

Specifying a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp#Hairline()` or 0.dp width will create 1 pixel border regardless of density.

This property is *not* inherited

| Parameters |
|---|---|
| `width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The width of the border. |
| `brush: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Brush` | The brush to paint the border (e.g., for gradients). |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BorderScope#borderWidth(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BorderScope#borderColor(androidx.compose.ui.graphics.Color)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BorderScope#borderBrush(androidx.compose.ui.graphics.Brush)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/border.modifier#(androidx.compose.ui.Modifier).border(androidx.compose.foundation.BorderStroke,androidx.compose.ui.graphics.Shape)` |   |

### BorderScope.border

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:border) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun BorderScope.border(width: Dp, color: Color): Unit
```

Sets a solid border for the component with the specified width and color. The border is drawn on top of the background and the padded content. The border itself does not contribute to the component's layout size (width/height).

Specifying a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp#Unspecified()` width will remove the border.

Specifying a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp#Hairline()` or 0.dp width will create 1 pixel border regardless of density.

This property is *not* inherited

| Parameters |
|---|---|
| `width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The width of the border. |
| `color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | The color of the border. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BorderScope#borderWidth(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BorderScope#borderColor(androidx.compose.ui.graphics.Color)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/BorderScope#borderBrush(androidx.compose.ui.graphics.Brush)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/border.modifier#(androidx.compose.ui.Modifier).border(androidx.compose.foundation.BorderStroke,androidx.compose.ui.graphics.Shape)` |   |

### StyleStateScope.checked

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleState.kt+function:checked) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.checked(block: () -> Unit): Unit
```

Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isChecked()` is `true`. The properties within the provided `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).checked(kotlin.Function0)` will override or merge with the base style of the component when a toggle interaction is detected.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isChecked()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).focused(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).hovered(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).pressed(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).selected(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/selection/toggleable.modifier#(androidx.compose.ui.Modifier).toggleable(kotlin.Boolean,kotlin.Boolean,androidx.compose.ui.semantics.Role,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function1)` |   |

### T.contentPadding

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:contentPadding) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun <T : ContentPaddingScope & CompositionLocalAccessorScope> T.contentPadding(
    paddingValues: PaddingValues
): Unit
```

Sets the padding for the component's content. Content padding is the space between the component's border (if any) and its content. The width/height of the component includes content padding.

This property is *not* inherited

| Parameters |
|---|---|
| `paddingValues: https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues` to apply to the content. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.foundation.layout.PaddingValues)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ContentPaddingScope.contentPadding

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:contentPadding) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ContentPaddingScope.contentPadding(value: Dp): Unit
```

Sets the padding for all four edges (top, end, bottom, start) edges of the component's content. Content padding is the space between the component's border (if any) and its content. The width/height of the component includes content padding.

This property is *not* inherited

| Parameters |
|---|---|
| `value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The amount of padding to apply to all four edges. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingStart(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingEnd(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingTop(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingBottom(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPaddingHorizontal(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPaddingVertical(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ContentPaddingScope.contentPadding

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:contentPadding) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ContentPaddingScope.contentPadding(horizontal: Dp, vertical: Dp): Unit
```

Sets the padding for the vertical (top and bottom) and horizontal (start and end) edges of the component's content. Content padding is the space between the component's border (if any) and its content. The width/height of the component includes content padding.

This property is *not* inherited

| Parameters |
|---|---|
| `horizontal: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the start and end edges. |
| `vertical: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the top and bottom edges. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPaddingVertical(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPaddingHorizontal(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ContentPaddingScope.contentPadding

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:contentPadding) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ContentPaddingScope.contentPadding(start: Dp, top: Dp, end: Dp, bottom: Dp): Unit
```

Sets the padding for all four edges (top, end, bottom, start) edges of the component's content. Content padding is the space between the component's border (if any) and its content. The width/height of the component includes content padding.

This property is *not* inherited

| Parameters |
|---|---|
| `start: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the start edge. |
| `top: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the top edge. |
| `end: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the end edge. |
| `bottom: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the bottom edge. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingStart(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingEnd(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingTop(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingBottom(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ContentPaddingScope.contentPaddingHorizontal

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:contentPaddingHorizontal) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ContentPaddingScope.contentPaddingHorizontal(value: Dp): Unit
```

Sets the padding for the horizontal (start and end) edges of the component's content. Content padding is the space between the component's border (if any) and its content. The width/height of the component includes content padding.

This property is *not* inherited

| Parameters |
|---|---|
| `value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The amount of padding to apply to both start and end edges. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingStart(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingEnd(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPaddingVertical(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ContentPaddingScope.contentPaddingVertical

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:contentPaddingVertical) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ContentPaddingScope.contentPaddingVertical(value: Dp): Unit
```

Sets the padding for the vertical (start and end) edges of the component's content. Content padding is the space between the component's border (if any) and its content. The width/height of the component includes content padding.

This property is *not* inherited

| Parameters |
|---|---|
| `value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The amount of padding to apply to both top and bottom edges. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingTop(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentPaddingScope#contentPaddingBottom(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPaddingHorizontal(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### StyleStateScope.disabled

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleState.kt+function:disabled) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.disabled(block: () -> Unit): Unit
```

Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is disabled. The properties within the provided `value` Style will override or merge with the base style of the component when the style state for the component is disabled.

| Parameters |
|---|---|
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to apply on hover. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isEnabled()` |   |

### T.externalPadding

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:externalPadding) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun <T : ExternalPaddingScope & CompositionLocalAccessorScope> T.externalPadding(
    paddingValues: PaddingValues
): Unit
```

Sets the external padding for the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is *not* inherited

| Parameters |
|---|---|
| `paddingValues: https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues` to apply to the external padding. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPadding(androidx.compose.foundation.layout.PaddingValues)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ExternalPaddingScope.externalPadding

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:externalPadding) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ExternalPaddingScope.externalPadding(value: Dp): Unit
```

Sets the external padding for all four edges (top, end, bottom, start) of the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is *not* inherited

| Parameters |
|---|---|
| `value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The amount of padding to apply to all four edges. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingStart(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingEnd(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingTop(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingBottom(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPaddingHorizontal(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPaddingVertical(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ExternalPaddingScope.externalPadding

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:externalPadding) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ExternalPaddingScope.externalPadding(horizontal: Dp, vertical: Dp): Unit
```

Sets the external padding for the vertical (top and bottom) and horizontal (start and end) edges of the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is *not* inherited

| Parameters |
|---|---|
| `horizontal: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the start and end edges. |
| `vertical: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the top and bottom edges. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPaddingVertical(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPaddingHorizontal(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ExternalPaddingScope.externalPadding

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:externalPadding) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ExternalPaddingScope.externalPadding(
    start: Dp,
    top: Dp,
    end: Dp,
    bottom: Dp
): Unit
```

Sets the external padding for all four edges (top, end, bottom, start) of the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is *not* inherited

| Parameters |
|---|---|
| `start: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the start edge. |
| `top: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the top edge. |
| `end: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the end edge. |
| `bottom: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The padding for the bottom edge. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingStart(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingEnd(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingTop(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingBottom(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ExternalPaddingScope.externalPaddingHorizontal

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:externalPaddingHorizontal) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ExternalPaddingScope.externalPaddingHorizontal(value: Dp): Unit
```

Sets the external padding for the horizontal (start and end) edges of the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is *not* inherited

| Parameters |
|---|---|
| `value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The amount of padding to apply to both start and end edges. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingStart(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingEnd(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPaddingVertical(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPadding(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### ExternalPaddingScope.externalPaddingVertical

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:externalPaddingVertical) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ExternalPaddingScope.externalPaddingVertical(value: Dp): Unit
```

Sets the external padding for the vertical (start and end) edges of the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is *not* inherited

| Parameters |
|---|---|
| `value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The amount of padding to apply to both top and bottom edges. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingTop(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExternalPaddingScope#externalPaddingBottom(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPaddingHorizontal(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPadding(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/padding.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)` |   |

### SizeScope.fillHeight

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:fillHeight) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun SizeScope.fillHeight(): Unit
```

Sets the height of the component to fill the parent's available height (equivalent to `height(1.0f)`). The specified height includes any padding.

This property is *not* inherited

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).fillWidth()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).fillSize()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/fillMaxHeight.modifier#(androidx.compose.ui.Modifier).fillMaxHeight(kotlin.Float)` |   |

### SizeScope.fillSize

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:fillSize) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun SizeScope.fillSize(): Unit
```

Sets the width and height of the component to fill the parent's available space (equivalent to `width(1.0f)` and `height(1.0f)`). The specified size includes any padding.

This property is *not* inherited

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).fillWidth()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).fillHeight()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/fillMaxSize.modifier#(androidx.compose.ui.Modifier).fillMaxSize(kotlin.Float)` |   |

### SizeScope.fillWidth

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:fillWidth) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun SizeScope.fillWidth(): Unit
```

Sets the width of the component to fill the parent's available width (equivalent to `width(1.0f)`). The specified width includes any padding.

This property is *not* inherited

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).fillHeight()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.SizeScope).fillSize()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/fillMaxWidth.modifier#(androidx.compose.ui.Modifier).fillMaxWidth(kotlin.Float)` |   |

### StyleStateScope.focused

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleState.kt+function:focused) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.focused(block: () -> Unit): Unit
```

Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is focused. The properties within the provided `value` Style will override or merge with the base style of the component when a focus interaction is detected.

| Parameters |
|---|---|
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to apply on focus. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isFocused()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).checked(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).hovered(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).pressed(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).selected(kotlin.Function0)` |   |

### StylePropertyAccessorScope.getOrElse

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:getOrElse) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
inline fun <T : Any?> StylePropertyAccessorScope.getOrElse(
    property: StyleProperty<T>,
    crossinline defaultValue: () -> T
): T
```

Returns the resolved value of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).getOrElse(androidx.compose.foundation.style.StyleProperty,kotlin.Function0)` if set, or the result of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).getOrElse(androidx.compose.foundation.style.StyleProperty,kotlin.Function0)`.

| Parameters |
|---|---|
| `property: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleProperty<T>` | property to retrieve |
| `crossinline defaultValue: () -> T` | fallback calculation when `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).getOrElse(androidx.compose.foundation.style.StyleProperty,kotlin.Function0)` is not set |

### StyleStateScope.hovered

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleState.kt+function:hovered) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.hovered(block: () -> Unit): Unit
```

Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is hovered. The properties within the provided `value` Style will override or merge with the base style of the component when a hover interaction is detected.

| Parameters |
|---|---|
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to apply on hover. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isHovered()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).checked(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).focused(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).pressed(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).selected(kotlin.Function0)` |   |

### StylePropertyAccessorScope.ifSet

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:ifSet) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
inline fun <T : Any?> StylePropertyAccessorScope.ifSet(
    property: StyleProperty<T>,
    crossinline block: (T) -> Unit
): Unit
```

Call `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSet(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` when `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSet(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` has been provided.

| Parameters |
|---|---|
| `property: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleProperty<T>` | the property to check. |
| `crossinline block: (T) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | called when `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSet(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` has been provided and is called with the resolved value of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSet(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` as a parameter. |

### StylePropertyAccessorScope.ifSetAs

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+function:ifSetAs)

```
@ExperimentalFoundationStyleApi
inline fun <R : T, T : Any?> StylePropertyAccessorScope.ifSetAs(
    property: StyleProperty<T>,
    crossinline block: (R) -> Unit
): Unit
```

Call `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` when `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` has been provided and the value is of type `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)`.

| Parameters |
|---|---|
| `<R : T>` | the value of R is required to be. |
| `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?>` | the type of the property inferred from `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` |
| `property: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleProperty<T>` | the property to check. |
| `crossinline block: (R) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | called when `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` has been provided and is called with the resolved value of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StylePropertyAccessorScope).ifSetAs(androidx.compose.foundation.style.StyleProperty,kotlin.Function1)` as a parameter. |

### MaxSizeScope.maxSize

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:maxSize) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun MaxSizeScope.maxSize(size: DpSize): Unit
```

Constrains the maximum size (width and height) of the component. The component's dimensions, including padding, will be at most these values.

This property is *not* inherited

| Parameters |
|---|---|
| `size: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize` | The maximum size (`https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize`). |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MaxSizeScope#maxWidth(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MaxSizeScope#maxHeight(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/sizeIn.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)` |   |

### MaxSizeScope.maxSize

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:maxSize) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun MaxSizeScope.maxSize(width: Dp, height: Dp): Unit
```

Constrains the maximum width and height of the component. The component's dimensions, including padding, will be at most these values.

This property is *not* inherited

| Parameters |
|---|---|
| `width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The maximum width. |
| `height: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The maximum height. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MaxSizeScope#maxWidth(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MaxSizeScope#maxHeight(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/sizeIn.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)` |   |

### MinSizeScope.minSize

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:minSize) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun MinSizeScope.minSize(size: DpSize): Unit
```

Constrains the minimum size (width and height) of the component. The component's dimensions, including padding, will be at least these values.

This property is *not* inherited

| Parameters |
|---|---|
| `size: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize` | The minimum size (`https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize`). |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MinSizeScope#minWidth(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MinSizeScope#minHeight(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/sizeIn.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)` |   |

### MinSizeScope.minSize

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:minSize) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun MinSizeScope.minSize(width: Dp, height: Dp): Unit
```

Constrains the minimum width and height of the component. The component's dimensions, including padding, will be at least these values.

This property is *not* inherited

| Parameters |
|---|---|
| `width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The minimum width. |
| `height: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The minimum height. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MinSizeScope#minWidth(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/MinSizeScope#minHeight(androidx.compose.ui.unit.Dp)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/sizeIn.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)` |   |

### StyleStateScope.pressed

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleState.kt+function:pressed) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.pressed(block: () -> Unit): Unit
```

Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is pressed. The properties within the provided `value` Style will override or merge with the base style of the component when a press interaction is detected.

| Parameters |
|---|---|
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to apply on press. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isPressed()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).checked(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).focused(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).hovered(kotlin.Function0)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).selected(kotlin.Function0)` |   |

### RotationScope.rotation

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:rotation) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun RotationScope.rotation(x: Float, y: Float, z: Float): Unit
```

Rotates the component around the X-axis, Y-axis and Z-axis (perpendicular to the screen) through its center.

This property is *not* inherited

| Parameters |
|---|---|
| `x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The x-axis rotation angle in degrees. |
| `y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The x-axis rotation angle in degrees. |
| `z: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The x-axis rotation angle in degrees. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/RotationScope#rotationX(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/RotationScope#rotationY(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/RotationScope#rotationZ(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/rotate.modifier#(androidx.compose.ui.Modifier).rotate(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/graphicsLayer.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,androidx.compose.ui.graphics.LayerOutsets)` |   |

### ScaleScope.scale

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:scale) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ScaleScope.scale(value: @FloatRange(from = 0.0) Float): Unit
```

Scales the component uniformly (both horizontally and vertically) around its center pivot point.

Setting `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ScaleScope).scale(kotlin.Float)` will override the horizontal scaling set by a previous call to `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleX(kotlin.Float)` and the previous vertical scaling set by calling `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleY(kotlin.Float)`.

This property is *not* inherited

| Parameters |
|---|---|
| `value: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The scaling factor for both X and Y axes. 1.0f is no scale. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleX(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleY(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/scale.modifier#(androidx.compose.ui.Modifier).scale(kotlin.Float,kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/graphicsLayer.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,androidx.compose.ui.graphics.LayerOutsets)` |   |

### ScaleScope.scale

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:scale) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun ScaleScope.scale(
    x: @FloatRange(from = 0.0) Float,
    y: @FloatRange(from = 0.0) Float
): Unit
```

Scales the component uniformly (both horizontally and vertically) around its center pivot point.

Setting `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ScaleScope).scale(kotlin.Float,kotlin.Float)` will override the horizontal scaling set by a previous call to `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleX(kotlin.Float)` and the previous vertical scaling set by calling `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleY(kotlin.Float)`.

This property is *not* inherited

| Parameters |
|---|---|
| `x: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The scaling factor for X axes. 1.0f is no scale. |
| `y: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The scaling factor for Y axes. 1.0f is no scale. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleX(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ScaleScope#scaleY(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/scale.modifier#(androidx.compose.ui.Modifier).scale(kotlin.Float,kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/graphicsLayer.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,androidx.compose.ui.graphics.LayerOutsets)` |   |

### StyleStateScope.selected

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleState.kt+function:selected) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.selected(block: () -> Unit): Unit
```

Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isSelected()` is `true`. The properties within the provided `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).selected(kotlin.Function0)` Style will override or merge with the base style of the component when a toggle interaction is detected.

| Parameters |
|---|---|
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to apply on press. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#isSelected()` |   |

### SizeScope.size

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:size) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun SizeScope.size(value: Dp): Unit
```

Sets the preferred width and height of the component to the same value. The actual size will also depend on the parent's constraints and other modifiers. The specified size includes any padding.

This property is *not* inherited

| Parameters |
|---|---|
| `value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The preferred width and height in Dp. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/size.modifier#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.Dp)` |   |

### SizeScope.size

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:size) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun SizeScope.size(value: DpSize): Unit
```

Sets the preferred width and height of the component using a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize` object. The actual size will also depend on the parent's constraints and other modifiers. The specified size includes any padding.

This property is *not* inherited

| Parameters |
|---|---|
| `value: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize` | The preferred size. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/size.modifier#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.Dp)` |   |

### SizeScope.size

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:size) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun SizeScope.size(width: Dp, height: Dp): Unit
```

Sets the preferred width and height of the component. The actual size will also depend on the parent's constraints and other modifiers. The specified dimensions includes both `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.ui.unit.Dp)` and `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ExternalPaddingScope).externalPadding(androidx.compose.ui.unit.Dp)`.

This property is *not* inherited

| Parameters |
|---|---|
| `width: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The preferred width in Dp. |
| `height: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | The preferred height in Dp. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/size.modifier#(androidx.compose.ui.Modifier).size(androidx.compose.ui.unit.Dp)` |   |

### StyleStateScope.state

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:state) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.state(key: StyleStateKey<Boolean>, block: () -> Unit): Unit
```

A helper function to implement state reading extension functions such as `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).pressed(kotlin.Function0)` for use with `Boolean` states.

Custom style states can use this function to implement start reading functions to be consistent with the predefined state reading functions.

```kotlin
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.style.CustomStyle
import androidx.compose.foundation.style.Style
import androidx.compose.foundation.style.StyleScope
import androidx.compose.foundation.style.StyleStateKey
import androidx.compose.foundation.style.rememberUpdatedStyleState
import androidx.compose.foundation.style.state
import androidx.compose.foundation.style.styleable
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color

// Create a new StyleStateKey
val playingStateKey = StyleStateKey(false)

// In the module scope are the following declarations:
//
//    // A custom style scope which has all the properties of StyleScope
//    interface MediaPlayerStyleScope : StyleScope
//
//    // A custom style type
//    fun interface MediaPlayerStyle : CustomStyle<MediaPlayerStyleScope> {
//        companion object : MediaPlayerStyle {
//            override fun MediaPlayerStyleScope.applyStyle() { }
//        }
//    }

// Introduce a function to convert the custom style to a Style
fun MediaPlayerStyle.toStyle(): Style = Style {
    val scope = object : StyleScope by this, MediaPlayerStyleScope {}
    with(scope) { applyStyle() }
}

// Introduce an extension function to read the style state. This will only be
// available in a MediaPlayerStyle.
fun MediaPlayerStyleScope.playerPlaying(block: () -> Unit) {
    state(playingStateKey, block)
}

// The MediaPlayer composable
@Suppress("UNUSED_PARAMETER")
@Composable
fun MediaPlayer(
    url: String,
    modifier: Modifier = Modifier,
    style: MediaPlayerStyle = MediaPlayerStyle,
    playing: Boolean = true,
) {
    val styleState =
        rememberUpdatedStyleState(null) { state -> state[playingStateKey] = playing }
    Box(modifier = modifier.styleable(styleState, style.toStyle())) {
        // Implementation of the media player
    }
}

// Using the style in a composable that sets the state.
MediaPlayer(
    url = "https://example.com/media/video",
    style = {
        borderColor(Color.Gray)

        // This only sets the border color to green when the media player is playing
        playerPlaying { borderColor(Color.Green) }
    },
)
```

| Parameters |
|---|---|
| `key: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateKey<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html>` | the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleStateKey` for the custom state. |
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | the block to execute when the style state is `true`. |

### CommonStyle.then

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/CommonStyle.kt+function:then) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
infix fun CommonStyle.then(other: CommonStyle): CommonStyle
```

Merge this style with another style where this style will be applied before the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.CommonStyle).then(androidx.compose.foundation.style.CommonStyle)` style.

| Parameters |
|---|---|
| `other: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` | the right side of the\` operator which will merge after `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle`. |

### Style.then

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/Style.kt+function:then) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.11.0)

```
@ExperimentalFoundationStyleApi
infix fun Style.then(other: Style): Style
```

Transitionary modifier. Do not use. This will be removed before the Styles API is stable.

Merges this styles with another. The style to the right on the `then` will overwrite the properties set by the style to the left.

| Parameters |
|---|---|
| `other: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` | the style to merge into the receiver. |

### Style.toCommonStyle

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/Style.kt+function:toCommonStyle) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Style.toCommonStyle(): CommonStyle
```

Transitionary modifier. Do not use. This will be removed before the Styles API is stable.

Convert a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` into a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle` for use by the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver`.

This function will be removed before style becomes stable. It is not yet deprecated to facilitate removing code that was written using the experimental 1.11 version of this API.

### TransformOriginScope.transformOrigin

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:transformOrigin) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun TransformOriginScope.transformOrigin(value: TransformOrigin): Unit
```

Offset percentage along the x and y-axis for which contents are rotated and scaled. The default value of 0.5f, 0.5f indicates the pivot point will be at the midpoint of the left and right as well as the top and bottom bounds of the layer. Default value is `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/TransformOrigin#Center()`.

| Parameters |
|---|---|
| `value: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/TransformOrigin` | The origin of the transform |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/GraphicsLayerScope` |   |

### TranslationScope.translation

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:translation) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun TranslationScope.translation(offset: Offset): Unit
```

Translates (moves) the component by the given `https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset`.

This property is *not* inherited

| Parameters |
|---|---|
| `offset: https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset` | The translation offset in pixels. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TranslationScope#translationX(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TranslationScope#translationY(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/graphicsLayer.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,androidx.compose.ui.graphics.LayerOutsets)` |   |

### TranslationScope.translation

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleScope.kt+function:translation) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun TranslationScope.translation(
    x: @FloatRange(from = 0.0) Float,
    y: @FloatRange(from = 0.0) Float
): Unit
```

Translates (moves) the component horizontally and vertically.

This property is *not* inherited

| Parameters |
|---|---|
| `x: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The translation amount on the X-axis in pixels. |
| `y: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The translation amount on the Y-axis in pixels. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TranslationScope#translationX(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/TranslationScope#translationY(kotlin.Float)` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/graphicsLayer.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,androidx.compose.ui.graphics.LayerOutsets)` |   |

### StyleStateScope.triStateToggleIndeterminate

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleState.kt+function:triStateToggleIndeterminate) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.triStateToggleIndeterminate(block: () -> Unit): Unit
```

Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#triStateToggle()` is `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState#Indeterminate`. The properties within the provided `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).triStateToggleIndeterminate(kotlin.Function0)` Style will override or merge with the base style of the component when a toggle interaction is detected.

| Parameters |
|---|---|
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to apply on press. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#triStateToggle()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/selection/triStateToggleable.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)` |   |

### StyleStateScope.triStateToggleOff

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleState.kt+function:triStateToggleOff) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.triStateToggleOff(block: () -> Unit): Unit
```

Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#triStateToggle()` is `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState#Off`. The properties within the provided `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).triStateToggleOff(kotlin.Function0)` Style will override or merge with the base style of the component when a toggle interaction is detected.

| Parameters |
|---|---|
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to apply on press. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#triStateToggle()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/selection/triStateToggleable.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)` |   |

### StyleStateScope.triStateToggleOn

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleState.kt+function:triStateToggleOn) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0)

```
@ExperimentalFoundationStyleApi
fun StyleStateScope.triStateToggleOn(block: () -> Unit): Unit
```

Defines a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to be applied when the component is `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#triStateToggle()` is `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState#On`. The properties within the provided `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.StyleStateScope).triStateToggleOn(kotlin.Function0)` Style will override or merge with the base style of the component when a toggle interaction is detected.

| Parameters |
|---|---|
| `block: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | The `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` to apply on press. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleState#triStateToggle()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/selection/triStateToggleable.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)` |   |

## Extension properties

### StylePropertyAccessorScope.contentBrush

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperties.kt+symbol:contentBrush) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
val StylePropertyAccessorScope.contentBrush: Brush?
```

Transitionary value. Do not use. This will be removed before the Styles API is stable.

This gives access to the fill value set by `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentColorScope`.

### StylePropertyAccessorScope.contentColor

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperties.kt+symbol:contentColor) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
val StylePropertyAccessorScope.contentColor: Color
```

Transitionary value. Do not use. This will be removed before the Styles API is stable.

This gives access to the fill value set by `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentColorScope`.

### StylePropertyAccessorScope.contentFill

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperties.kt+symbol:contentFill) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
val StylePropertyAccessorScope.contentFill: Fill
```

Transitionary value. Do not use. This will be removed before the Styles API is stable.

This gives access to the fill value set by `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ContentColorScope`.