Home
Softono
bh

bh

Open source MIT Ruby
832
Stars
74
Forks
17
Issues
62
Watchers
1 month
Last Commit

About bh

Bootstrap Helpers for Ruby

Platforms

Web Self-hosted

Languages

Ruby

Bh · Bootstrap Helpers

A set of Ruby helpers that streamlines the use of Bootstrap 6 components in HTML views.

Bootstrap 6 is a great framework, but requires many lines of HTML code even for simple components.

With Bh, you can achieve the same result with fewer lines of code

How to install

  1. Add gem 'bh' to the Gemfile file of your Rails app.
  2. Add this line to the config/importmap.rb file:
pin_all_from Bh::Engine.root.join('app/javascript/controllers'), under: 'controllers'

Available methods

See https://github.com/claudiob/bh/blob/master/lib/bh/bootstrap_helpers.rb