@ds-kit/grid

5.2.0 • Public • Published

title: "Grid" slug: "/packages/grid" category: "layout" componentNames:

  • "Grid"
  • "GridItem"

Grid

The Grid package contains a useful set of components relevant for layout work. It has helper components to create flex, as well as css-grid layouts.

import { Grid, GridItem } from "@ds-kit/grid"

Simple Example

The simplest example of a grid (using css grid) will look like this:

<Grid>
  <GridItem gridColumn="span 4" bg="grey.25">
    {"Column 1"}
  </GridItem>
  <GridItem gridColumn="span 4" bg="grey.25">
    {"Column 2"}
  </GridItem>
  <GridItem gridColumn="span 4" bg="grey.25">
    {"Column 3"}
  </GridItem>
</Grid>

Readme

Keywords

none

Package Sidebar

Install

npm i @ds-kit/grid

Weekly Downloads

0

Version

5.2.0

License

LicenseRef-LICENSE

Unpacked Size

13.7 kB

Total Files

10

Last publish

Collaborators

  • hellycat
  • lapidus
  • amytych
  • zimrick