NV NVIDIA Elements Patterns Elements Foundations Integrations GitHub System Themes

Panels

stable:  2.22.4 Coverage: 91.66% Bundle: 21.66kb Lighthouse: 100 Axe Core Released: 0.10.0
Overview API Examples

Panel is inline container for content that couples to the content on the page (details, extra actions/options). Or Drawer is out of context of the rest of the page (notifications, navigations, settings).

Title

RainbowBridge/08-18-2021AM/A2A

2021-08-18

Indexed

Kenjiro Ono

Kenichi Yoshii

Experiment 12345

Panels provide a way to make extra content available alongside the primary page layout, in a way that is accessible and minimizable.

Panels are always minimizable, either by closing or collapsing. The proper close/collapse icon button displays depending on the whether you set the closable attribute. By default closable is false and the panel collapses down to just an expand icon.

Additionally, nve-panel can be have its side property set to left or right to get the proper collapse/expand icon and animation.

Installation

CLI / MCP / CDN

Left / Right Side Panels

Sets the proper collapse icon and collapse animation, based on which side of the page the panel occupies.

Side Description left right

Left-positioned collapsible panel for sidebar navigation and content details.

RainbowBridge/08-18-2021AM/A2A

2021-08-18

Indexed

Kenjiro Ono

Kenichi Yoshii

Experiment 12345

Right-positioned collapsible panel for supplementary content and property inspectors.

RainbowBridge/08-18-2021AM/A2A

2021-08-18

Indexed

Kenjiro Ono

Kenichi Yoshii

Experiment 12345

Collapsible Panel with External Trigger

An external trigger supports expanding/collapsing or hiding/showing a panel. In this example clicking the button toggles the expanded attribute on the nve-panel between true and false.

Collapsible Panel with External Trigger is for use with a fixed position when collapsed, otherwise the button may have a flat side and not be on the edge of the page.

Collapsible panel with built-in close button and external toggle for flexible expand/collapse behavior.

Closable Panel with External Trigger

Indicates whether the user can dismiss or close the element.

Closable Description true The element displays a close control and the user can dismiss it. false The user cannot close the element and must dismiss it programmatically.

Closable panel with external toggle button for programmatic show/hide control.

Panel with Header

The nve-panel-header sub-component can be slotted into nve-panel to get default border styling, and extra sub slots within the header. In this example nve-panel-header is further slotted with elements for slot="title", slot="subtitle", icon-button with slot="action-icon"

Panel with complete header including title, subtitle, and action icon slots for rich header content.

Title
Subtitle

RainbowBridge/08-18-2021AM/A2A

2021-08-18

Indexed

Kenjiro Ono

Kenichi Yoshii

Experiment 12345

Panel with footer containing action buttons for form submissions and destructive actions.

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 Joystick 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 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