# react-flexer

> flexbox grid layout like rebass but fastest

Latest version **1.0.1** (published 2019-08-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-flexer
pnpm add react-flexer
yarn add react-flexer
bun add react-flexer
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-08-15 |
| First published | 2019-08-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 154.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Eddort |
| Maintainers | eddort |
| Keywords | react, quarkly, flex-box, styled-system, rebass, styled-components, atomic-components, quarkly/elementary |

## Links

- npm: https://www.npmjs.com/package/react-flexer
- Repository: https://github.com/Eddort/react-flexer
- Homepage: https://github.com/Eddort/react-flexer#readme
- Issues: https://github.com/Eddort/react-flexer/issues
- npm.io page: https://npm.io/package/react-flexer

## Dependencies (1)

- [@quarkly/elementary](https://npm.io/package/@quarkly/elementary.md) 1.1.4

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-08-15
- 1.0.0 — 2019-08-13
- 0.7.1 — 2019-08-13
- 0.7.0 — 2019-08-12
- 0.6.0 — 2019-08-12
- 0.5.0 — 2019-08-12
- 0.0.2 — 2019-08-12
- 0.0.1 — 2019-08-12

## README

<img src="flexer.gif" width="200">

[![Build Status][badge]][travis]
[![Coverage][coverage-badge]][coverage]
[![Version][version-badge]][npm]
![MIT License][license]

[badge]: https://flat.badgen.net/travis/eddort/react-flexer/master
[travis]: https://travis-ci.com/eddort/react-flexer
[coverage-badge]: https://flat.badgen.net/codecov/c/github/eddort/react-flexer
[coverage]: https://codecov.io/github/eddort/react-flexer
[version-badge]: https://flat.badgen.net/npm/v/react-flexer
[npm]: https://npmjs.com/package/react-flexer
[license]: https://flat.badgen.net/badge/license/MIT/blue

# react-flexer 

### flexbox grid layout like rebass, just faster. Built with [@quarkly/elementary](https://github.com/quarkly/elementary)

## Why would you use Flexer instead of Rebass?
 - Flexer is faster than Rebass 🏃🏻
 - Flexer fully supports a system of short properties 😱

## Usage

```bash
$ npm i react-flexer
$ npm i styled-components
```

```jsx
import React from 'react';
import ReactDom from 'react-dom';
import { Flex, Box } from 'react-flexer';

ReactDom.render(
  <Flex w={1/2}>
    <Box m={3}>
      Box
    </Box>
  </Flex>,
  document.getElementById('root'),
);
```

## Props

#### Layout

- [display / d](https://github.com/quarkly/elementary/blob/master/docs/props.md#display)
- [height / h](https://github.com/quarkly/elementary/blob/master/docs/props.md#height)
- [minHeight / mih](https://github.com/quarkly/elementary/blob/master/docs/props.md#minheight)
- [mixHeight / mah](https://github.com/quarkly/elementary/blob/master/docs/props.md#maxheight)
- [width / w](https://github.com/quarkly/elementary/blob/master/docs/props.md#width)
- [minWidth / miw](https://github.com/quarkly/elementary/blob/master/docs/props.md#minwidth)
- [maxWidth / maw](https://github.com/quarkly/elementary/blob/master/docs/props.md#maxwidth)
- [size](https://github.com/quarkly/elementary/blob/master/docs/props.md#size)

#### Spaces

- [padding / p](https://github.com/quarkly/elementary/blob/master/docs/props.md#p)
- [paddingTop / pt](https://github.com/quarkly/elementary/blob/master/docs/props.md#pt)
- [paddingRight / pr](https://github.com/quarkly/elementary/blob/master/docs/props.md#pr)
- [paddingBottom / pb](https://github.com/quarkly/elementary/blob/master/docs/props.md#pb)
- [paddingLeft / pl](https://github.com/quarkly/elementary/blob/master/docs/props.md#pl)
- [paddingX / px](https://github.com/quarkly/elementary/blob/master/docs/props.md#px)
- [paddingY / py](https://github.com/quarkly/elementary/blob/master/docs/props.md#py)
- [margin / m](https://github.com/quarkly/elementary/blob/master/docs/props.md#m)
- [marginTop / mt](https://github.com/quarkly/elementary/blob/master/docs/props.md#mt)
- [marginRight / mr](https://github.com/quarkly/elementary/blob/master/docs/props.md#mr)
- [marginBottom / mb](https://github.com/quarkly/elementary/blob/master/docs/props.md#mb)
- [marginLeft / ml](https://github.com/quarkly/elementary/blob/master/docs/props.md#ml)
- [marginX / mx](https://github.com/quarkly/elementary/blob/master/docs/props.md#mx)
- [marginY / my](https://github.com/quarkly/elementary/blob/master/docs/props.md#my)

#### Flex

- [alignItems / ai](https://github.com/quarkly/elementary/blob/master/docs/props.md#alignitems)
- [alignContent / ac](https://github.com/quarkly/elementary/blob/master/docs/props.md#aligncontent)
- [justifyItems / ji](https://github.com/quarkly/elementary/blob/master/docs/props.md#justifyitems)
- [justifyContent / jc](https://github.com/quarkly/elementary/blob/master/docs/props.md#justifycontent)
- [flexWrap / fxw](https://github.com/quarkly/elementary/blob/master/docs/props.md#flexwrap)
- [flexBasis / fxb](https://github.com/quarkly/elementary/blob/master/docs/props.md#flexbasis)
- [flexDirection / fxd](https://github.com/quarkly/elementary/blob/master/docs/props.md#flexdirection)
- [flex / fx](https://github.com/quarkly/elementary/blob/master/docs/props.md#flex)
- [order / ord](https://github.com/quarkly/elementary/blob/master/docs/props.md#order)

---
_Source: https://npm.io/package/react-flexer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
