--- id: slds.guidance.utilities.scrollable title: Scrollable Utilities description: SLDS scrollable utility classes for managing overflow behavior summary: "Utilities for controlling scroll behavior (x, y, both, none)." artifact_type: reference domain: utilities topic: scrollable content_format: structured complexity: intermediate audience: [implementer] tasks: [implement] refs: - slds.guidance.utilities - slds.guidance.overview.utilities tags: [utilities, scrollable, overflow, scroll] keywords: [slds-scrollable, overflow, scroll, scrollable-x, scrollable-y] --- # Scrollable - Overflow Management Controlling scroll behavior in fixed-size containers. ## Core Classes | Class | Purpose | |-------|---------| | `slds-scrollable` | Enables scrolling on both axes when content exceeds container dimensions | | `slds-scrollable_x` | Enables horizontal scrolling only when content exceeds width | | `slds-scrollable_y` | Enables vertical scrolling only when content exceeds height | | `slds-scrollable_none` | Prevents scrolling and hides overflow content | ## Common Patterns ```html
| Column 1 | Column 2 | Column 3 | Column 4 | Column 5 | Column 6 |
|---|
Long code snippet that exceeds both width and height...
Multiple lines of code...
With very long lines that exceed the container width...