@lendi-ui/spacing
TypeScript icon, indicating that this package has built-in type declarations

7.1.5 • Public • Published

@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')};
`;

/@lendi-ui/spacing/

    Package Sidebar

    Install

    npm i @lendi-ui/spacing

    Weekly Downloads

    196

    Version

    7.1.5

    License

    ISC

    Unpacked Size

    10.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • joshua-derbe-lendi
    • michaelhuttonlendi
    • simon_lau_lendi
    • benjamintan
    • oliverfrance
    • kjartan.johansen
    • dapovey
    • nooshines
    • fernandogontijo_
    • sean-elliott-lendi
    • nghiato
    • sunny.niu
    • mfarshadmehr
    • jannes.mingram.lendi
    • antoine_lendi
    • bchiong
    • lendi-owner
    • andrealin
    • malkyfaith
    • brianduan
    • yihan_lu_lendi
    • nodemacross
    • samnevers
    • boris.gordon
    • leo.wei
    • bharadwajsampath
    • luissilvalendi
    • thomaslendi
    • dimitrioslendi
    • le-kang-lendi
    • yupeili