0.2.0 • Published 2 years ago

@djx/spacer v0.2.0

Weekly downloads
139
License
ISC
Repository
-
Last release
2 years ago

@djx/spacer

A spacer to normalize spaces between elements

Installation

npm install --save @djx/spacer

Usage

Make sure you import the component somewehere in your application first:

import '@djx/spacer';

You can then use it like normal web components in your markup:

<p>Text</p>
<djx-spacer size="xs"></djx-spacer>
<p>Text 2</p>
<djx-spacer size="xs"></djx-spacer>
<djx-spacer size="md"></djx-spacer>

The spacer uses fluid-size to deal with interpolation from min to max

Variables

NameDescriptionDefault
DJX_SPACERMap of spacings from MIN to MAXSee here

For more variables see here

0.2.0

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.2

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.5

3 years ago

0.1.1

3 years ago

0.1.0

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago