NV NVIDIA Elements Patterns Elements Foundations Integrations GitHub System Themes

Scroll Box

beta:  2.18.1 Coverage: 97.64% Bundle: 10kb Lighthouse: 100 Axe Core Released: 0.0.0
Overview API Examples

A scrollable container for arbitrary content with optional edge shadows and native scrolling APIs.

Training activity and resource allocation

Review training jobs across the cluster and inspect resource allocation for each workload.

The panel keeps its size while the application supplies the content and its layout.

Scroll in either direction to explore the full activity report and reach the content beyond the viewport.

Installation

CLI / MCP / CDN

Both Axes

Both-axis scrolling keeps large content reachable within a constrained area. Use for wide diagrams or detailed content in a panel.

Training activity and resource allocation

Review training jobs across the cluster and inspect resource allocation for each workload.

The panel keeps its size while the application supplies the content and its layout.

Scroll in either direction to explore the full activity report and reach the content beyond the viewport.

Vertical

Vertical scrolling keeps long activity lists within a fixed-height panel. Use edge shadows to indicate additional content above or below the viewport.

Training job 1

Training job 2

Training job 3

Training job 4

Training job 5

Training job 6

Training job 7

Training job 8

Training job 9

Training job 10

Training job 11

Training job 12

Horizontal

Horizontal scrolling keeps wide content accessible on narrow screens. Arrange children in a light DOM layout and enable edge shadows for overflow cues.

Dataset preparation

Data validation

Data augmentation

Model configuration

Hyperparameter tuning

Resource allocation

Training execution

Checkpoint validation

Model evaluation

Model optimization

Deployment preparation

Production monitoring

Scroll Bars and Shadows

Hidden scrollbars reduce visual weight while edge shadows indicate overflow. Use when an application provides another clear way to discover scrolling.

Training job 1

Training job 2

Training job 3

Training job 4

Training job 5

Training job 6

Training job 7

Training job 8

Training job 9

Training job 10

Training job 11

Training job 12

Native Scrolling APIs

Use the host's native methods, properties, and events. Listen for scroll and scrollend directly on the host; element scroll events do not bubble. RTL scrolling retains native coordinates.

Automatic Scrolling

Automatic scrolling follows new messages while allowing readers to review earlier content. Use for chat responses or logs; return to the latest message to resume following.

Conversation message 1

Conversation message 2

Conversation message 3

Conversation message 4

Conversation message 5

Conversation message 6

Conversation message 7

Conversation message 8

Conversation message 9

Conversation message 10

Conversation message 11

Conversation message 12

Add message

Release Status

All elements and features go through 3 phases of stability, pre-release, beta and stable.

pre-release
Docs Preview API Documentation Fully Themeable
beta
Robust unit test coverages Passed API Review Passed Designer VQA Review Included in library package
stable
No known outstanding AA WCAG issues No known outstanding performance issues Adapts to different screen/container sizes No breaking API changes for at least 90 days
Getting Started Overview Installation CLI MCP Skills Lint What’s New GitHub Patterns Overview Agent Authentication Browse Chat Code Dashboard Editor Empty States Heatmap Keyboard Shortcut Logging Media Navigation Onboarding Panel Responsive Search Subheader Trend Elements Overview Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Codeblock Color Combobox Copy Button Datagrid Getting Started Integrations Column Action Column Alignment Column Fixed Column width Container Card Display Settings Footer Heatmap Keynav Multi Select Pagination Panel Detail Panel Grid Performance Placeholder Row Action Row Groups Row Sort Scroll Height Single Select Stripe Date Datetime Dialog Divider Dot Drag Handle Drawer Dropdown Dropdown Group Dropzone File Format Bytes Datetime Number Relative Time Truncate Forms Getting Started Validation Actions Control Gauge Icon Icon Button Iframe Input Input Group Logo Markdown Markdown CSS Media Controller Pause Button Playback Rate Select Loop Button Mute Button Media PiP Button Seek Button Time Range Volume Range Full-screen Button Menu Month Monaco Input Diff Input Monaco Editor Diff Editor Problems Notification Page Page Header Page Loader Pagination Progressive Filter Chip Progress Bar Progress Dot Progress Ring Password Preferences Input Pulse Radio Range Resize Handle Scroll Box Search Select Skeleton Sort Button Sparkline Star Rating Steps Switch Tabs Tag Textarea Time Toast Toggletip Toolbar Tooltip Tree Viewport Viewport Gridlines Minimap Zoom Range Week Foundations Overview Typography Iconography Themes Design Tokens Size & Space Objects Interactions Support Status Color Animation Fonts Layers Custom Layout Horizontal Vertical Grid Popovers i18n Visualization View Transitions DESIGN.md Integrations Getting Started Angular Bundles CDN Custom Elements Eleventy Golang HTMX + Go Hugo Import Maps Lit Lit Library MCP Apps NextJS Nuxt Pi Preact React SolidJS Sphinx Svelte TypeScript Vue About What’s New Changelog Metrics Support Accessibility Contributions Requests Migration Sitemap Labs Responsive Layout Viewport Container Patterns Forms Internal API Design Guidelines Properties & Attributes Slots Registration CustomEvents Stateless Composition Styles Packaging Glossary Logs Guidelines Agent Harness Agent Tooling Agent Ownership Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Examples All Examples