@lendi-ui/spacing

Utilities for spacing.

Stats

StarsIssuesVersionUpdatedCreatedSize
@lendi-ui/spacing
7.1.2a year ago3 years agoMinified + gzip package size for @lendi-ui/spacing in KB

Readme

@lendi-ui/spacing

Spacing styles HTML element spacing like margin and padding.

Installation

yarn add @lendi-ui/spacing

Usage

  • margin
import { m } from '@lendi-ui/spacing';
const Box = styled.div`
  ${m('lg')};
`;
  • padding
import { p } from '@lendi-ui/spacing';
const Box = styled.div`
  ${p('lg')};
`;

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.