Skip to content

eddort/react-flexer

Repository files navigation

Build Status Coverage Version MIT License

react-flexer

flexbox grid layout like rebass, just faster. Built with @quarkly/elementary

Why would you use Flexer instead of Rebass?

  • Flexer is faster than Rebass 🏃🏻
  • Flexer fully supports a system of short properties 😱

Usage

$ npm i react-flexer
$ npm i styled-components
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

Spaces

Flex

Releases

No releases published

Packages

No packages published