5.0.3 • Published 12 months ago

@heycar-uikit/grid v5.0.3

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
12 months ago

HeyCar-UIKit - Grid

Tests Coverage Status Demo build Commitizen friendly

12 column grid system that consists of 2 components, Row and Column.

Installation

To install and save in your package.json dependencies, run the command below using npm:

npm install @heycar-uikit/grid

Usage

import Grid from '@heycar-uikit/grid';

function App() {
  return (
    <Grid.Row>
      <Grid.Col width={{ mobile: 12, tablet: 12, desktop: 4 }}>
        <div />
      </Grid.Col>
      <Grid.Col width={{ mobile: 12, tablet: 6, desktop: 4 }}>
        <div />
      </Grid.Col>
      <Grid.Col width={{ mobile: 12, tablet: 6, desktop: 4 }}>
        <div />
      </Grid.Col>
    </Grid.Row>
  );
}

Breakpoints

NameValue
--mobile0 to 767px
--tablet768px to 100%
--tablet-s768px to 100%
--tablet-l1024px to 100%
--desktop1280px to 100%
--desktop-s1280px to 100%
--desktop-m1366px to 100%
--desktop-l1440px to 100%

Documentation and sandbox

Storybook documentation and sandbox

5.0.3

12 months ago

5.0.2

1 year ago

4.0.0

1 year ago

3.0.0

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

1.2.3

2 years ago

2.0.0

2 years ago

1.1.1

2 years ago

1.0.5

2 years ago

1.2.1

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago