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

Interactions

The interaction tokens --nve-sys-interaction-* provide semantic interaction states for interactive components. These styles include the following categories:

  • default
  • ephasize
  • destructive
  • flat

All UI interactions contain a default set of six interactive states.

  • default
  • hover
  • active
  • selected
  • disabled
  • focused

Below are HTML & CSS demonstrating how to consume the interaction design tokens. Custom elements replace demos over time.

Interactions

The --nve-sys-interaction-state-ratio-* provides a step ratio value for each interaction state. This combined with the CSS color-mix property allows colors to be dynamically computed from the base color.

Theme interaction state system for buttons showing hover, active, selected, and disabled states.


    

Interactions

Theme interaction state system for menu items with all interactive states in both themes.

container
container

Tokens

Token Value Description Demo
--nve-sys-interaction-color --nve-ref-color-neutral-1200 Use for default interactive element text color
--nve-sys-interaction-background --nve-ref-color-neutral-600 Use for default interactive element backgrounds
--nve-sys-interaction-background-100 --nve-ref-color-neutral-600 Use for subtle interactive element backgrounds
--nve-sys-interaction-background-200 --nve-ref-color-neutral-500 Use for standard interactive element backgrounds
--nve-sys-interaction-background-300 --nve-ref-color-neutral-500 Use for elevated interactive element backgrounds

Emphasis

Token Value Description Demo
--nve-sys-interaction-emphasis-color --nve-sys-text-black-color Use for text color in primary call-to-action buttons
--nve-sys-interaction-emphasis-background --nve-sys-accent-primary-background Use for background color in primary call-to-action buttons

Destructive

Token Value Description Demo
--nve-sys-interaction-destructive-background --nve-ref-color-red-cardinal-1100 Use for background color in destructive action buttons
--nve-sys-interaction-destructive-color --nve-sys-text-white-color Use for text color in destructive action buttons

Highlighted

Token Value Description Demo
--nve-sys-interaction-highlighted-background --nve-ref-color-blue-cobalt-500 Use for background color in highlighted interactive elements
--nve-sys-interaction-highlighted-muted-background --nve-ref-color-blue-cobalt-300 Use for subtle highlighted element backgrounds
--nve-sys-interaction-highlighted-color --nve-sys-interaction-color Use for text color in highlighted interactive elements

Selected

Token Value Description Demo
--nve-sys-interaction-selected-color --nve-sys-text-emphasis-color Use for text color in selected interactive elements
--nve-sys-interaction-selected-background --nve-sys-interaction-background Use for background color in selected interactive elements

Disabled

Token Value Description Demo
--nve-sys-interaction-disabled-color --nve-ref-color-neutral-800 Use for text color in disabled interactive elements
--nve-sys-interaction-disabled-background --nve-ref-color-neutral-600 Use for background color in disabled interactive elements

Field

Token Value Description Demo
--nve-sys-interaction-field-height --nve-ref-size-800 Use for standard height of form inputs and buttons
--nve-sys-interaction-field-color --nve-sys-interaction-color Use for text color in form inputs and text fields
--nve-sys-interaction-field-background --nve-sys-interaction-background Use for background color in form inputs and text fields
--nve-sys-interaction-field-background-100 --nve-sys-interaction-background-100 Use for subtle form input backgrounds
--nve-sys-interaction-field-background-200 --nve-sys-interaction-background-200 Use for standard form input backgrounds
--nve-sys-interaction-field-background-300 --nve-sys-interaction-background-300 Use for elevated form input backgrounds