Container(ui_container)
UiBibz::Ui::Core::Layouts::Container
Grid systems are used for creating page layouts. You can read about the doc : Bootstrap doc
Examples
Some examples explain how to use the options present in the component.Container
ui_container class: "test" do
...
content
...
end
<div class="test container">
...
content
...
</div>
Type
ui_container content, { type: :fluid }, { class: "test-2" }
<div class="test-2 container-fluid">
content
</div>
Size
To add multiple sizes of the container, you must use arguments :
- :xxl
- :xl
- :lg
- :md
- :sm
- :xs
ui_container content, { size: :sm }, { class: "test-2" }
<div class="test-2 container-sm">
content
</div>