One component to rule them all
Library Ui Bibz is based on
one component. All components inherit from
element. No need to write HTML,
Component are based on Bootstrap and all new
version are managed by Ui Bibz. The framework is
written with Ruby for
Ruby on Rails.
Content, options, html_options
Ui Bibz component is based on Ruby on Rails link_to method with some specificity.
The content can be inserting inline on content variable or by block. Block can also be used to configure element present inside the component (tap method). Options and html_options are hashes present to configure the component or his html.
def component content = nil, options = nil, html_options = nil, &block end
That's All !
All components are based on this fundamental principe. Some elements are variant but copy on the same model.
Simple and efficient
Library is organized by namespace like
UiBibz::Ui::Buttons::ButtonLink and to
facilitate and improve use of Ui Bibz, helpers are created for
render of component very easily with simple methods: cols,
All input components are compatible with simple_form to create forms very easily.
Tested, Gemified, Installed
An extensible library
Ui Bibz library is extensible with complex components.
Usually, there are mixed components like
card_table (table in
card) with a search engine, pagination and sortable columns.
Open Source and forkable