larva modules: container

Available Variants

narrow prototype
hello markup
container README

Generic module for a containing element around HTML/markup.

This could be updated to support an action.

container Twig The markup file.
<div class="container // {{ container_classes }} {{ container_background_color_class }} {{ container_color_class }} {{ container_text_align_class }}">{{ container_markup }}</div>
container JSON The data object for this pattern.
{
	"container_markup": "hello markup",
	"container_classes": "lrv-a-font-body-m lrv-u-margin-lr-auto",
	"container_background_color_class": "",
	"container_color_class": "",
	"container_text_align_class": ""
}