Components · Data Display · Scroll Area
Back to Scroll AreaScroll AreaNew
Use for panels, sidebars and popovers whose content can outgrow their box, with thin overlay scrollbars and edge fades.
Properties
Size, corner radius and the content options below are properties of the same component, not separate elements - change them to check this component's appearances and states in the Live Preview.
Live Preview
Every appearance side by side, each in every state. One full matrix is rendered per selected Size and Corner radius combination.
When to use
Panels, sidebars and popovers whose content can outgrow their box.
Component Guide
Overview
Scroll Area is a native scroll container with thin overlay scrollbars and edge fades that appear only where content overflows.
When to Use
- Panels, sidebars and popovers whose content can outgrow their box.
- Horizontal strips of cards or chips with snap points.
- Places where platform scrollbars look heavy but native scrolling must stay.
When Not to Use
- Paging one item at a time - use a carousel.
- Wrapping the whole page - let the document scroll.
- Large tabular data - use a virtualised data grid.
Best Practices
- Give vertical areas a height or max-height.
- Use the edge callback for a more-below affordance or to load more.
- Turn the fade off for very long lists if mask cost shows up.
Accessibility
- The viewport is focusable and becomes a named region with a label.
- Arrow keys, Page Up/Down, Home, End and Space scroll natively.
- Overlay tracks are decorative; the native scrollbar is the real control.
Related Components
Divider, Tree, Table.
{
"component": "Scroll Area",
"category": "Data Display",
"summary": "Scroll Area is a native scroll container with thin overlay scrollbars and edge fades that appear only where content overflows.",
"whenToUse": [
"Panels, sidebars and popovers whose content can outgrow their box.",
"Horizontal strips of cards or chips with snap points.",
"Places where platform scrollbars look heavy but native scrolling must stay."
],
"whenNotToUse": [
"Paging one item at a time - use a carousel.",
"Wrapping the whole page - let the document scroll.",
"Large tabular data - use a virtualised data grid."
],
"bestPractices": [
"Give vertical areas a height or max-height.",
"Use the edge callback for a more-below affordance or to load more.",
"Turn the fade off for very long lists if mask cost shows up."
],
"accessibility": [
"The viewport is focusable and becomes a named region with a label.",
"Arrow keys, Page Up/Down, Home, End and Space scroll natively.",
"Overlay tracks are decorative; the native scrollbar is the real control."
],
"relatedComponents": [
"Divider",
"Tree",
"Table"
]
}