0.0.5 • Published 3 years ago

@orizens/react-be v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@orizens/react-be

Bootstrap Element is a primitive component with typed utility classes and auto-completion - a la 'styled' jsx, just with readable classes

NPM JavaScript Style Guide

Install React-BE

npm install --save @orizens/react-be

Make sure your project includes bootstrap.

WHY?

Bootstrap is still popular and along with that, react-bootstrap is as well. React-BE solves the problem of development experience and adds auto-completion for bootstrap utility functions.

DEMO

https://orizens.github.io/-orizens-react-be/

Usage

import React, { Component } from 'react'

import { Be, Row, H4, Section, Flex, Div, Ol, Li } from '@orizens/react-be'

function Example() {
  return (
    <Section>
      <H4 text='dark'>React-BE</H4>
      <Column col='10'>
        <Be flex='row' overflow='auto'>react-be is a time saver</Be>
        <Flex flex='row'>
          <Div>
            <Ol>
              <Li>there are more elements - with FULL Typescript support</Li>
              <Li>more elements are coming soon...</Li>
            </Ol>
          </Div>
        </Flex>
      </Column>
    </Section>
  )
}

Support HTML-Elements powered by React-BE

these are the elements that are available with React-Be typings:

Flex, Column, Row, P, Img, Li, on, Div, Section, Ol, Ul, Span, H1, H2, H3, H4, H5, H6

more to come.

Future Features

  • support these elements with typescript: img
  • support column size
  • support responsive variations (i.e, flex-md-column, col-md-2)
  • add support for mulitple values for special utilities (or all)
  • add built in utility-elements: Flex, Column, Row, P, Img, Li, on, Div, Section, Ol, Ul, Span, H1, H2, H3, H4, H5, H6
  • add more built in utility/html-elements: b, em, nav, footer, a, etc..

License

MIT © orizens

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago