NV Elements Catalog Starters Repo System Themes About Getting Started Changelog Metrics Support Accessibility Contributions Requests Migration Deprecations Integrations Installation MCP CLI Lint Angular Bundles Extensions Go Hugo Import Maps Lit NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue Foundations 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 Elements Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Color Combobox Copy Button Datagrid 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 Drawer Dropdown Dropdown Group Dropzone File Forms Validation Actions Control Icon Icon Button Input Input Group Logo Menu Month Notification Page Page Header Page Loader Pagination Panel Progressive Filter Chip Progress Bar Progress Ring Password Preferences Input Pulse Radio Range Resize Handle Search Select Skeleton Sort Button Sparkline Star Rating Steps Switch Tabs Tag Textarea Time Toast Toggletip Toolbar Tooltip Tree Week Patterns Authentication Browse Dashboard Editor Empty States Heatmap Keyboard Shortcut Logging Media Onboarding Panel Responsive Search Subheader Trend Code Codeblock Monaco Input Diff Input Editor Diff Editor Problems Markdown Markdown CSS Utility Labs Responsive Layout Viewport Container Patterns Forms API Design Properties & Attributes Slots Registration CustomEvents Stateless Composition Styles Packaging Glossary Logs Internal Guidelines Agent Harness Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Internal Examples All Examples
Labs projects are experimental packages available for early feedback.

Elements CLI

The Elements CLI provides command-line access to the Elements design system. Use it to scaffold new projects pre-configured with Elements, look up component APIs and design tokens, validate templates, and generate shareable playgrounds -- all without leaving your terminal

Install CLI

Install the Elements CLI to your system. This will add the nve command to your path and provide several helpful commands for working with Elements.

MacOS / Linux Windows CMD NodeJS

    

Usage

Project Creation

Use the CLI to quickly bootstrap frontend UIs pre-configured with Elements.


    

The CLI also can provide API search results withing the terminal.


    

Search result output:


    

Commands

Command Description nve --upgrade Upgrade to the latest CLI release. nve api.list [format] Get list of all available Elements (nve-*) APIs and components. nve api.search <query> [format] Search and retrieve a list of Elements (nve-*) components and APIs using keywords or natural language. nve api.get <names> [format] Get documentation known components or attributes by name (nve-*). nve api.template.validate <template> Validates HTML templates using Elements APIs and components (nve-*). nve api.imports.get <template> Get esm imports for a given HTML template using Elements APIs (nve-*). nve api.tokens.list [format] Get available semantic CSS custom properties / design tokens for theming. nve packages.list Get latest published versions of all Elements packages. nve packages.get <name> Get details for a specific Elements package. nve packages.changelogs.get <name> [format] Retrieve changelog details by package name. nve examples.list [format] Get list of available Elements (nve-*) patterns and examples. nve playground.validate <template> Validates HTML templates specifically for playground examples. nve playground.create <template> [type] [name] [author] Create a shareable playground URL from an HTML template. nve project.create <type> [cwd] [start] Create a new starter project. nve project.validate <type> [cwd] Check project for configuration issues and dependencies. nve project.setup [cwd] Setup or update a project to use Elements.

Troubleshooting

403 Forbidden

A 403 Forbidden error means your token has expired. Re-authenticate to resolve it.


    

Unsupported Engine

An Unsupported engine warning means your Node.js version is out of date. The CLI requires Node.js v20 or later. Update Node.js and try again.