The scrollable component is a container for long form content, such as terms of service, that allows for scrolling so merchants can expose more text as they read.
Use when you need to make a region within the page independently scrollable. It’s often used in modals and other panes where it’s helpful to provide an extra visual cue that content exists below or above the fold.
Scrollable containers should:
- Be used when it’s helpful to provide an extra visual cue to let merchants know that content exists below or above the fold
- Only be used for length text such as terms of service or other legal disclaimers and never for instructional or action-oriented text
Scrollable containers are cards with scrolling functionality, and should follow the content guidelines for cards.
- To put long sections of information under a block that merchants can expand or collapse, use the collapsible component