Socket
Socket
Sign inDemoInstall

@orizens/react-be

Package Overview
Dependencies
115
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @orizens/react-be

bootstrap element primitive component with utility classes and auto-completion - a la 'styled' jsx, just with readable classes


Version published
Weekly downloads
1
decreased by-83.33%
Maintainers
1
Install size
18.5 MB
Created
Weekly downloads
 

Changelog

Source

v 0.0.5 (2020/16/03)

  • [NEW] - Add Support for html elements (h1-h6, span etc..) - extends <Be />
  • [DEV] - renderFile.ts now save the <Be /> types and lints it with npm run ts

Readme

Source

@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

Keywords

FAQs

Last updated on 16 Mar 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc