# flexband

> React Flexbox wrapper

Latest version **0.0.3** (published 2018-03-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install flexband
pnpm add flexband
yarn add flexband
bun add flexband
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-03-12 |
| First published | 2018-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 13.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Stefan Tanurkov |
| Maintainers | stanurkov |
| Keywords | flexbox, react |

## Links

- npm: https://www.npmjs.com/package/flexband
- Repository: https://github.com/stanurkov/flexband
- Issues: https://github.com/stanurkov/flexband/issues
- npm.io page: https://npm.io/package/flexband

## Dependencies (7)

- [react](https://npm.io/package/react.md) ^16.2.0
- [babel-cli](https://npm.io/package/babel-cli.md) ^6.26.0
- [babel-core](https://npm.io/package/babel-core.md) ^6.26.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.1
- [babel-loader](https://npm.io/package/babel-loader.md) ^7.1.4
- [babel-preset-react](https://npm.io/package/babel-preset-react.md) ^6.24.1
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.24.1

## 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

- 0.0.3 (latest) — 2018-03-12
- 0.0.2 — 2018-03-12
- 0.0.1 — 2018-03-12

## README

# flexband


[![MIT][mit-image]][mit-url]

> React Flexbox Wrapper Components 


[mit-image]: https://github.com/stanurkov/observed-object/blob/master/mit.svg
[mit-url]: https://github.com/stanurkov/flexband/blob/master/LICENSE

## Introduction

Use FlexBand JSX element instead as a flex container of traditional \<div style={{display: "flex", ...etc}}>. It is possible to use "direction", "wrap", "flow" JSX attributes for setting correspondint flex-* CSS values, as well as "justify" (justify-content), "align" (align-content) and "alignItems" (align-items).

FlexBandItem is a flexbox item with property shortcuts for order, grow (for flex-grow),  shrink (for flex-shrink), basis (for flex-basis) and align (for align-self)

## Example

```
<FlexBand direction="column">
  <FlexBandItem grow="1">
    Item 1
  </FlexBandItem>
  <FlexBandItem grow="1">
    Item 2
  </FlexBandItem>
  <FlexBandItem grow="2"> 
    Item 3
  </FlexBandItem>
</FlexBand>
 

```

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