# NonInteractiveScrollbarDefaults

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/Scrollbar.kt+class:androidx.compose.material3.NonInteractiveScrollbarDefaults) Common/AllAndroid/JVM
- Cmn

  ```
  object NonInteractiveScrollbarDefaults
  ```

*** ** * ** ***

Contains the default values used by `https://developer.android.com/reference/kotlin/androidx/compose/material3/nonInteractiveScrollbar.composable#(androidx.compose.ui.Modifier).nonInteractiveScrollbar(androidx.compose.foundation.ScrollIndicatorState,androidx.compose.foundation.gestures.Orientation,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,kotlin.Float,kotlin.Boolean,kotlin.Int,kotlin.Int,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)`.

## Summary

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/NonInteractiveScrollbarDefaults#CrossAxisTrackInset()` Default cross axis inset for the scrollbar track. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/NonInteractiveScrollbarDefaults#MainAxisTrackInset()` Default main axis inset for the scrollbar track. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/NonInteractiveScrollbarDefaults#Thickness()` Default thickness for a scrollbar. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/NonInteractiveScrollbarDefaults#ThumbFadeDelayMillis()` Default delay in milliseconds before the scrollbar fades out. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/NonInteractiveScrollbarDefaults#ThumbFadeDurationMillis()` Default duration in milliseconds for the fade animation. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/NonInteractiveScrollbarDefaults#ThumbMaxLengthFraction()` Default maximum length for the scrollbar thumb as a fraction of the viewport length. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/NonInteractiveScrollbarDefaults#ThumbMinLength()` Default minimum height for the scrollbar thumb. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/NonInteractiveScrollbarDefaults#ThumbOpacity()` Default opacity for the scrollbar thumb. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/NonInteractiveScrollbarDefaults#thumbColor()` Default color for the scrollbar thumb. | Cmn |

## Public properties

### CrossAxisTrackInset

Cmn

```
val CrossAxisTrackInset: Dp
```

Default cross axis inset for the scrollbar track.

### MainAxisTrackInset

Cmn

```
val MainAxisTrackInset: Dp
```

Default main axis inset for the scrollbar track.

### Thickness

Cmn

```
val Thickness: Dp
```

Default thickness for a scrollbar.

### ThumbFadeDelayMillis

Cmn

```
val ThumbFadeDelayMillis: Int
```

Default delay in milliseconds before the scrollbar fades out.

### ThumbFadeDurationMillis

Cmn

```
val ThumbFadeDurationMillis: Int
```

Default duration in milliseconds for the fade animation.

### ThumbMaxLengthFraction

Cmn

```
val ThumbMaxLengthFraction: Float
```

Default maximum length for the scrollbar thumb as a fraction of the viewport length.

### ThumbMinLength

Cmn

```
val ThumbMinLength: Dp
```

Default minimum height for the scrollbar thumb.

### ThumbOpacity

Cmn

```
val ThumbOpacity: Float
```

Default opacity for the scrollbar thumb.

### thumbColor

Cmn

```
val thumbColor: Color
```

Default color for the scrollbar thumb.