@vcl/value-unit-anagram

0.6.3 • Public • Published

VCL value-unit-anagram

The combination of value(s) with associated unit(s) in any permutation.

Features

The vclVUAnagram is similar to the icogram component; it is a wrapper for vclValue and vclUnit which can occur in arbitrary order and count. The unit can also be an icon component. The value-unit-anagram applies a small gap in form of a margin between the elements.

Usage

Basic usage.

basic example

The following examples show permutations of value and unit, varied font size for the value and the use of an icon as unit.

advanced example

Classes

  • vclVUAnagram
  • vclValue
  • vclUnit

Modifiers

Variables

  • --vu-anagram-unit-font-size
  • --vu-anagram-unit-color

Demo

example.html on GH-pages.

Package Sidebar

Install

npm i @vcl/value-unit-anagram

Weekly Downloads

1

Version

0.6.3

License

MIT

Unpacked Size

6.78 kB

Total Files

9

Last publish

Collaborators

  • marcode95
  • vanthome
  • dani723
  • vilsol
  • jurgis-upenieks