Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nascentdigital/lattice

Utility classes for responsive JS web development.
https://github.com/nascentdigital/lattice

Last synced: about 2 months ago
JSON representation

Utility classes for responsive JS web development.

Awesome Lists containing this project

README

        

# react-lattice

> A set of flexible React components that simplify responsive web development.

[![NPM](https://img.shields.io/npm/v/react-lattice.svg)](https://www.npmjs.com/package/react-lattice) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm i -s @nascentdigital/react-lattice
```

## Usage

```tsx
// imports
import * as React from "react";
import {createGrid} from "react-lattice";

// define Grid (can be customized)
const Grid = createGrid();

// component
export const Page = () => {

// render
return (


Left (desktop), Top (mobile + tablet)


Right (desktop), Bottom (mobile + tablet)


);
};
```

## License

MIT © [Nascent Digital](https://github.com/nascentdigital)