Layout
Scroll Area
Native-feel scroll container with custom scrollbars, edge fading, and overscroll containment.
Usage
Examples
Release activity
Recent operations stay in one bounded view.
Cluster health
Compare nodes without losing the table columns.
Deployment matrix
Review deployments across environments and regions.
Workspace summary
Short content lets the page keep scrolling.
Security activity in RTL
The same activity view, with right-to-left reading order.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Keep scroll regions bounded and their content reachable by keyboard. Preserve visible context around wide content. |
| Do | Constrain the parent height when content must scroll. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use TableContainer for tables and CodeBlockContent for code. Avoid nested scrolling without a clear task reason. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | true | Clamps content min-width to prevent intrinsic child overflow. |
| | false | Fills the full available height and width. |
| | false | Contains scroll chaining on overflowing axes. |
| | false | Applies mask image fade on overflowing edges. |
| | false | Reserves scrollbar space when overflowing. |
| | 0 | Threshold before overflow edge attributes are applied. |
| | — | Scrollable content rendered inside the viewport. |
| | — | Styled Base UI viewport for custom compositions. |
| | — | Styled scrollbar with an automatic thumb or caller-supplied children. |
| | — | Styled draggable thumb for custom compositions. |
| | — | Corner between horizontal and vertical scrollbars. |
| | — | Base UI ScrollArea primitive parts. |