# Scroll​View95

A vertical SwiftUI scroll view with a classic sunken viewport and indicator.

ScrollView95 composes native scrolling with the library’s track, thumb, line buttons, and accessibility actions.

![ScrollView95 with classic indicator](/images/scrollview95-macos.png)

Overflowing and fitting content rendered by the two containers below.

## Use it

```swift
import Swift95
import SwiftUI

struct ScrollView95Example: View {
  var body: some View {
    HStack(alignment: .top, spacing: 16) {
      ScrollView95(lineIncrement: 28) {
        LazyVStack(alignment: .leading, spacing: 0) {
          ForEach(1...10, id: \.self) { line in
            Text95("Line \(line)")
              .frame(maxWidth: .infinity, alignment: .leading)
              .frame(height: 28)
          }
        }
      }
      .frame(height: 150)

      ScrollView95 {
        Text95("Content fits")
          .frame(maxWidth: .infinity, alignment: .leading)
          .padding(8)
      }
      .frame(height: 80)
    }
  }
}
```

## Essential behavior

**Axis**Provides a vertical scrolling container.

**Indicator**The classic indicator can be hidden or transformed independently.

**Native APIs**Use swiftUI(\_:) to configure the embedded ScrollView.

## Related

- [ScrollIndicator95](/components/scroll-indicator/)
- [List95](/components/list/)
- [TextEditor95](/components/text-editor/)

[Open the complete ScrollView95 API reference →](/api/documentation/swift95/scrollview95)
