Skip to content

Repository files navigation

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_fromBh::Engine.root.join('app/javascript/controllers'),under: 'controllers'

Available methods

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

Releases

Packages

Used by

Contributors

Languages