bambu
TypeScript icon, indicating that this package has built-in type declarations

0.7.4-beta.4 • Public • Published

bambu

Seamless integration with Bulma

npm version Build Status

Motivation

React Web components built with typescript on top of bulma css framework.

Key Points

Key Goal
Extended from typescript definition types of html elements for each react component so able to use native html attributes for each element which is supported. Easy development with Typescript
Used pure functional and stateless react component Performance, Minimum source code
Defined each component similar Standardization
Used attribute names for each component similar to related css class names which are defined in bulma. Standardization, Simplicity
Used bulma sass files from node modules. Easy upgradable

Configuration

installation

  • install dependencies bulma, react,prop-types
yarn add bulma react prop-types
  • install
yarn add bambu

bulma css file.

  • import bulma.css css in html file.
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.css">
  • if you are using bulma as css module then you have add bulma css module
import {bulma} from "bambu";

bulma.$putAll(require('bulma/css/bulma.css'));

fontawesome.

  • add css link to index.html file
 <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">

materialdesignicons.

  • add css link to index.html file
 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/2.4.85/css/materialdesignicons.min.css" crossorigin="anonymous" />

Documentation ( Showcase )

Development

  • Start showcase in development mode.
yarn start

Production

  • build showcase
yarn showcase:build
  • serve showcase (port: 8282)
yarn showcase:serve

Contributions

Yes please! See the contributing guidelines for details.

License

bambu is wtfpl licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i bambu

Weekly Downloads

2

Version

0.7.4-beta.4

License

MIT

Unpacked Size

507 kB

Total Files

349

Last publish

Collaborators

  • kbukum