Socket
Book a DemoInstallSign in
Socket

@volue/design-elevation

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volue/design-elevation

Shadow/elevation primitives for Volue design primitives

latest
Source
npmnpm
Version
1.0.9
Version published
Weekly downloads
717
-42.87%
Maintainers
2
Weekly downloads
 
Created
Source

@volue/design-elevation

Elevation primitives/tokens to be used across Volue's products

Screenshot

Installation

npm install @volue/design-elevation --save
# or
yarn add @volue/design-elevation

Usage

JavaScript

In JavaScript, design token names are formatted in lower camelCase.

const tokens = require('@volue/design-elevation');
console.log(tokens.elevationM);

In JSON, design token names are formatted in SNAKE_CASE.

const tokens = require('@volue/design-elevation/dist/index.json');
console.log(tokens['ELEVATION_M']);

Sass

Sass variables and map keys are formatted in kebab-case.

// Using variables
@import '~@volue/design-elevation/dist/index';

div {
  box-shadow: $elevation-m;
}

FAQs

Package last updated on 16 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts