@volue/design-icons
TypeScript icon, indicating that this package has built-in type declarations

1.8.4 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @volue/design-icons

Weekly Downloads

623

Version

1.8.4

License

UNLICENSED

Unpacked Size

550 kB

Total Files

351

Last publish

Collaborators

  • aleksanderxxx
  • fima1