@lendi-ui/grid

Grid utilities for layout.

Stats

StarsIssuesVersionUpdatedCreatedSize
@lendi-ui/grid
4.1.82 months ago3 years agoMinified + gzip package size for @lendi-ui/grid in KB

Readme

@lendi-ui/grid

Grid styles HTML element with grid CSS layout. Grid contains grid and unit.

Installation

yarn add @lendi-ui/grid

Usage

  • grid
import { grid } from '@lendi-ui/grid';
const Grid = styled.div`
  ${grid({ halign: 'justify-center' })};
`;
  • unit
import { unit } from '@lendi-ui/grid';
const Quarter = styled.div`
  ${unit({ offset: 1 / 4, size: 1 / 4 })};
`;

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.