> Documentation index: https://developer.android.com/reference/llms.txt

# ComposeMaterial3RippleFlags

Artifact: [androidx.compose.material3:material3-ripple](https://developer.android.com/jetpack/androidx/releases/compose-material3.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/ripple/ComposeMaterial3RippleFlags.kt+class:androidx.compose.material3.ripple.ComposeMaterial3RippleFlags) Added in [1.6.0-alpha02](https://developer.android.com/jetpack/androidx/releases/compose-material3.md.txt#1.6.0-alpha02) Common/All
- Cmn

  ```
  @ExperimentalMaterial3RippleApi
  object ComposeMaterial3RippleFlags
  ```

*** ** * ** ***

The object holding the **feature flags** for Material 3 ripple.

Developers can enable or disable experimental or migration-based features by modifying the boolean values within this object. These flags are considered temporary. They are expected to be removed and should not be relied upon as permanent configuration.

**Usage:**

```kotlin
class MyApplication : Application() {
    override fun onCreate() {
        ComposeMaterial3RippleFlags.someFeatureEnabled = true
        super.onCreate()
    }
}
```

## Summary

| ### Public properties |
|---|---|---|
| `Boolean` | `isBorderRendererFocusRingEnabled` When this flag is `true`, the inset focus ring (`RippleNodeConfiguration.FocusConfiguration.InsetRing`) is drawn using `androidx.compose.foundation.BorderRenderer`. | Cmn |

## Public properties

### isBorderRendererFocusRingEnabled

Cmn Added in [1.6.0-alpha02](https://developer.android.com/jetpack/androidx/releases/compose-material3.md.txt#1.6.0-alpha02)

```
var isBorderRendererFocusRingEnabled: Boolean
```

When this flag is `true`, the inset focus ring (`RippleNodeConfiguration.FocusConfiguration.InsetRing`) is drawn using `androidx.compose.foundation.BorderRenderer`. When `false`, it is drawn using a copy of the border drawing logic that predates `androidx.compose.foundation.BorderRenderer`.

Both implementations draw the same geometry, but can differ slightly in the anti-aliasing of edge pixels. Additionally, the legacy implementation does not apply the inset for simple rounded rectangles whose corner radius, reduced by the inset, is smaller than half of the stroke width.