Skip to content

A fully-typed React component library for the Bulma CSS framework. Build modern UIs quickly with reusable, accessible, and customizable Bulma-based React components.

License

Notifications You must be signed in to change notification settings

allxsmith/bestax

@allxsmith/bestax-bulma

npm version npm downloads bundle size TypeScript Coverage Bulma License: MIT

React Bulma components library - TypeScript-first component library for Bulma CSS framework. Build accessible, modern UIs with fully-typed React components.

A modern, flexible React component library built with the latest Bulma v1 and TypeScript.


πŸ“š Comprehensive Documentation

Looking for full documentation, guides, API references, and best practices?
πŸ‘‰ Visit our official docs at https://bestax.io

The documentation site is the best place to learn about all bestax-bulma features, usage patterns, and updates. We strongly recommend using the docs as your primary resource!


πŸš€ Getting Started

1. Install the package

npm install @allxsmith/bestax-bulma
# or
yarn add @allxsmith/bestax-bulma

2. Import Bulma CSS

You must include Bulma’s CSS in your project. The easiest way is to import it in your main JS/TS file:

import 'bulma/css/bulma.min.css';

Or add it via CDN in your HTML:

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/bulma@1.0.4/css/bulma.min.css"
/>

3. (Optional) Add an Icon Library

Many components work well with icons. We recommend Font Awesome:

npm install @fortawesome/fontawesome-free

And then import in your code as needed.

4. Quick Example

Here’s how to use the Button component:

import React from 'react';
import { Button } from '@allxsmith/bestax-bulma';
import 'bulma/css/bulma.min.css';

function App() {
  return (
    <div>
      <Button color="primary" onClick={() => alert('Clicked!')}>
        Click Me
      </Button>
    </div>
  );
}

export default App;

⭐ Why Choose bestax-bulma?

  • Ultra-lightweight: Only 21KB gzipped ✨ 3-20x smaller than most popular React UI libraries (which range from 60-500KB+ gzipped)
  • Supports the latest Bulma v1.x Other React Bulma libraries are stuck on Bulma 0.9.4 β€” bestax-bulma is built for the future.
  • Zero external dependencies Clean install, smaller bundle, fewer security concerns.
  • 99% unit test coverage Rigorously tested for reliability and stability.
  • 100% TypeScript Full type safety for you and your team.
  • 100% Bulma Implementation Complete bulma implementation.
  • Active developer support Issues? Questions? PRs? Get fast responses and real improvements.

πŸ“¦ NPM Package

View the package on npmjs:
πŸ‘‰ https://www.npmjs.com/package/@allxsmith/bestax-bulma


πŸ“š Documentation

For full documentation, guides, and best practices, please use our official docs site:

πŸ‘‰ https://bestax.io

Always refer to the documentation site first:
It’s the most complete and up-to-date source for everything bestax-bulma!


πŸ“– Storybook

Explore live, interactive component examples in our Storybook:

πŸ‘‰ https://bestax.io/storybook


πŸ™ Special Thanks

bestax-bulma is built on top of the incredible @jgthms/bulma CSS framework.

If you find Bulma useful, please consider sponsoring Jeremy Thomas to support the continued development of Bulma.

Note: We are not affiliated with Bulma or Jeremy Thomas in any way...We’re just big fans of the Bulma framework!


Contributing

Want to contribute to bestax-bulma or run the project locally? See CONTRIBUTING.md

Pull requests and issues are welcome!
See individual package READMEs for more details.


Attribution

See Bulma’s license page for more details.


License

MIT Β© Alex Smith

About

A fully-typed React component library for the Bulma CSS framework. Build modern UIs quickly with reusable, accessible, and customizable Bulma-based React components.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published