0.2.0 • Published 9 months ago

@djx/spacer v0.2.0

Weekly downloads
139
License
ISC
Repository
-
Last release
9 months 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

9 months ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.2

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.5

1 year ago

0.1.1

2 years ago

0.1.0

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago