Skip to content

the94air/bun

Repository files navigation

Bun

License Chat

Introduction

Bun is a custom checkboxes & radios CSS generator. It makes the task of creating pure CSS checkboxes and radios inputs much easier with CSS only instead of relying on images or SVG hacks which makes it provide more browser support and accessibility.

Website

https://bun.js.org

Features

  1. Fully customizable CSS properties.
  2. Images or SVGs free solution.
  3. It allows you to add ripple CSS effects.
  4. Dark and light preview background for flexible different color combination testing.
  5. Generates checkboxes and radios CSS, unlike others generators that support checkboxes only.

Browser Compatibility

Tool browser support

Works on all modern browsers except IEs.

Generated CSS browser support

Works on all modren browsers additional to IEs (Tested on IE 11).
Safari, on the other hand, has accessibility issues but they are not caused by this package. It is caused by the system default settings. More information here.

Todo

  • Indeterminate state checkbox style

Contributing

You can contribute and add your own favorite feature to the tool by opening a new issue. If you found a bug, open an issue or send a pull request.

Project setup

$ git clone https://github.com/the94air/bun.git
$ npm install
$ npm run dev

Credits

Bun wouldn't exist without these:

  1. https://github.com/the94air/FunCheckbox
  2. https://kyusuf.com/post/completely-css-custom-checkbox-radio-buttons-and-select-boxes/
  3. https://ghinda.net/article/css-ripple-material-design/

License

MIT Copyright © 2019 - present, Abdalla Arbab.