npm.io
2.0.0 • Published 5 years ago

@terminus/ui-spacing

Licence
MIT
Version
2.0.0
Deps
3
Size
57 kB
Vulns
0
Weekly
0
Stars
11

Spacing

CI/CD Status Codecov MIT License
NPM version Library size

Table of Contents

Installation

CSS imports

In your top-level stylesheet, add these imports:

@import '~@terminus/design-tokens/css/library-design-tokens.css';
@import '~@terminus/ui-styles/terminus-ui.css';

Usage

<div tsVerticalSpacing>My content!</div>
Spacings

Any of the TsVerticalSpacingTypes values can be passed in:

<div tsVerticalSpacing="large--3">My content!</div>