@lendi-ui/spacing
v7.1.5
Published
Utilities for spacing.
Downloads
2,021
Maintainers
Keywords
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')};
`;