NVIDIA Elements Patterns Elements Foundations Integrations GitHub System Themes

Scroll Box

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

<nve-scroll-box>

Properties

PropertyAttributeDescriptionValues autoScroll auto-scroll

Controls vertical scrolling to the bottom. Follow pauses while scrolled away; always returns on content growth or viewport resizing. Overflow changes from CSS animations inside a fixed-size child do not trigger measurements.

off
follow
always
orientation orientation

Determines which axes allow user scrolling.

horizontal
vertical
both
scrollShadow scroll-shadow

Shows shadows at edges where more content is available.

true
false

Slots

SlotDescription default

Content to scroll. Use light DOM elements to arrange the content.

Invoker Commands

CommandDescription --scroll-to

Instantly scroll to the source button's value: start, end, or a finite pixel offset. Uses the horizontal axis for horizontal orientation and vertical otherwise. Empty or invalid values have no effect; numeric offsets use native coordinates, including negative RTL offsets.

--scroll-to-x

Instantly scroll horizontally to the source button's value: start, end, or a finite pixel offset. Empty or invalid values have no effect; numeric offsets use native coordinates, including negative RTL offsets.

--scroll-to-y

Instantly scroll vertically to the source button's value: start, end, or a finite pixel offset. Empty or invalid values have no effect.

CSS Properties

Css-propertyDescription --scrollbar-color

Native scrollbar thumb and track colors.

--scrollbar-width

Native scrollbar width. Set to none to hide scrollbars.

--shadow-color

Optional edge tint. Transparent uses the theme shadow.

--shadow-size

Size of the edge shadows.

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 Dashboard 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 Ghost Icon Icon Button Iframe Input Input Group Joystick List 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 Text Textarea Time Toast Toggletip Toolbar Tooltip Tree Viewport Viewport Gridlines Minimap Zoom Range Virtual List Week Workspace 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 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