cinch-grid

3.1.1 • Public • Published

Cinch-Grid

Cinch grid is a minimal responsive grid system with zero padding. This is to allow you to make pixel perfect layouts without battling padding that grids like Bootstrap use.

Demo

interface ContainerProps {
  className?: string
  margin?: number | string
  children: JSX.Element[] | JSX.Element
  breakpoints?: Breakpoints
}

interface RowProps {
  className?: string
  margin?: number | string
  marginTop?: number | string
  children: JSX.Element[] | JSX.Element
}

interface ColProps {
  className?: string
  widths: {
    [xs: string]: number
    [sm: string]: number
    [md: string]: number
    [lg: string]: number
    [xl: string]: number
  }
  children: JSX.Element[] | JSX.Element
  style?: Record<string, any>
}

interface Breakpoints {
  xs: number
  sm: number
  md: number
  lg: number
  xl: number
}

Package Sidebar

Install

npm i cinch-grid

Weekly Downloads

0

Version

3.1.1

License

ISC

Unpacked Size

25.9 kB

Total Files

21

Last publish

Collaborators

  • jcdiprose