Expo UI and Router for iOS
Modifiers

scrollIndicators

Controls the visibility of scroll indicators for scrollable views. Mirrors SwiftUI's scrollIndicators(_:axes:) modifier.

scrollIndicators(visibility, axes)

iOS 16+
ParameterTypeDescription
visibility'never' | 'automatic' | 'visible' | 'hidden'Indicator visibility
  • 'automatic': platform-default behavior.
  • 'visible': prefer showing indicators (may still be hidden by the system).
  • 'hidden': prefer hiding indicators (may still be shown by the system).
  • 'never': never show indicators.

| | axes(optional) | 'vertical' \| 'horizontal' \| 'both' | Axes to apply the visibility to. Defaults to 'both'. Default: 'both' |

Controls the visibility of scroll indicators for scrollable views. Mirrors SwiftUI's scrollIndicators(_:axes:) modifier.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

Sources

The original Expo docs for this page:

On this page