@vcl/icogram
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "@vcl/icogram", | ||
"description": "A textual label with optional prepended and/ or appended icon", | ||
"version": "0.2.1", | ||
"description": "The combination of icon(s) and a textual label(s) in any permutation", | ||
"version": "0.2.2", | ||
"main": "package.json", | ||
@@ -32,2 +32,3 @@ "scripts": { | ||
"@vcl/default-theme-terms": "^0.2.0", | ||
"@vcl/utils": "^0.2.0", | ||
"@vcl/flex-layout": "^0.2.0", | ||
@@ -34,0 +35,0 @@ "@vcl/font-awesome": "^0.2.0", |
# [VCL](https://github.com/vcl/doc) icogram | ||
A textual label with optional prepended and/ or appended icon. | ||
The combination of icon(s) and a textual label(s) in any permutation. | ||
## Features | ||
The combination of an icon and a textual label is very common but there are | ||
numerous permutations of both. | ||
The `vclIcogram` is a wrapper for `vclText` and `vclIcon` | ||
which can occur in arbitrary order and count. | ||
The icogram manages the horizontal gap between the elements. | ||
In combination with the flex layout, the alignment of the elements of an icogram | ||
can be controlled. | ||
The layout of labels and icons (horizontal and vertical) is created using the | ||
classes from the flex layout module. | ||
In the horizontal layout, the icogram applies a small gap in form of a margin | ||
between the elements. In the vertical layout no margin is applied. | ||
@@ -15,0 +14,0 @@ ## Usage |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
8380
9
15
30