# mui-flex-layout

> Flex Layout components made easy for Material-UI projects

Latest version **1.1.1** (published 2019-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install mui-flex-layout
pnpm add mui-flex-layout
yarn add mui-flex-layout
bun add mui-flex-layout
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2019-09-07 |
| First published | 2019-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 11.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Sharon Grossman |
| Maintainers | sharongrossman |
| Keywords | react, mui, material-ui, flex, flexbox |

## Links

- npm: https://www.npmjs.com/package/mui-flex-layout
- Repository: https://github.com/SharonGrossman/mui-flex-layout
- Homepage: https://github.com/SharonGrossman/mui-flex-layout#readme
- Issues: https://github.com/SharonGrossman/mui-flex-layout/issues
- npm.io page: https://npm.io/package/mui-flex-layout

## 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.1.1 (latest) — 2019-09-07
- 1.1.0 — 2019-08-31
- 1.0.1 — 2019-08-31
- 1.0.0 — 2019-08-30
- 0.1.0 — 2019-08-30

## README

# mui-flex-layout :muscle:
![BuildStatus](https://travis-ci.org/SharonGrossman/mui-flex-layout.svg?branch=master) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

## Install
```
yarn add --dev mui-flex-layout
```

## Description
A simple reuseable solution to using material-ui <Box> with flex alignments

## Usage

### Layout
A full width & height container with flex-direction alignment up to your choosing.

```
import Layout from 'mui-flex-layout';
...
<Layout color={'#fffff'} flex-direction={'column'}>
    <Toolbar />
    <Navbar />
    <Content />
</Layout>
```

### Row
A flex row container

```
import { Row } from 'mui-flex-layout';
...
<Row height={} width={}>
    <RowItem />
    <RowItem />
    <RowItem />
</Row>
```

### Column
A flex column container

```
import { Column } from 'mui-flex-layout';
...
<Column height={} width={}>
    <ColumnItem />
    <ColumnItem />
    <ColumnItem />
</Column>
```

### Padded
A Box with p={1} as a default
```
import { Padded } from 'mui-flex-layout';
...
<Padded padding={}>
    <ItemWithPadding />
</Padded>
<Padded>
  <SecondItemWithPadding />
</Padded
```

## License

[MIT](LICENSE) © [Sharon Grossman](https://github.com/sharongrossman)

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