Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@volue/design-icons

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volue/design-icons

Icons for Volue design primitives


Version published
Weekly downloads
149
increased by36.7%
Maintainers
2
Weekly downloads
 
Created

@volue/design-icons

Icons to be used across Volue's products

Installation

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

Usage

JavaScript

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

const tokens = require('@volue/design-icons');
console.log(tokens.signOut); // SVG icon markup

In JSON, design token names are formatted in SNAKE_CASE.

const tokens = require('@volue/design-icons/dist/index.json');
console.log(tokens['SIGN_OUT']); // SVG icon markup

Sass

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

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

// $angle-up;

SVG sprite

@volue/design-icons/dist/sprite.svg

FAQs

Package last updated on 15 Aug 2021

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