larva modules: breadcrumbs

Available Variants

prototype
breadcrumbs README

This needs docs!
Create a README.md in the pattern's directory and add details about using this pattern in markdown.

breadcrumbs Twig The markup file.
<div class="breadcrumbs // {{ breadcrumbs_classes }}">
	{% include "@larva/objects/o-nav/o-nav.twig" with o_nav %}
</div>
breadcrumbs JSON The data object for this pattern.
{
	"o_nav": {
		"modifier_class": "",
		"o_nav_classes": "lrv-u-flex",
		"o_nav_title_text": "",
		"o_nav_title_id_attr": "",
		"o_nav_title_classes": "",
		"o_nav_aria_labelledby_attr": "",
		"o_nav_screen_reader_id_attr": "optional-screen-reader",
		"o_nav_screen_reader_text": "optional screen reader",
		"o_nav_list_classes": "lrv-a-unstyle-list lrv-u-flex lrv-a-space-children-horizontal lrv-a-space-children--1 lrv-u-align-items-center lrv-u-a-unstyle-list",
		"o_nav_list_item_classes": "",
		"o_nav_list_items": [
			{
				"modifier_class": "",
				"c_link_classes": "lrv-a-unstyle-link",
				"c_link_text": "A plain text link",
				"c_link_url": "#",
				"c_link_rel_attr": false,
				"c_link_aria_label_attr": false,
				"c_link_target_attr": false
			},
			{
				"modifier_class": "",
				"c_link_classes": "lrv-a-unstyle-link",
				"c_link_text": "A plain text link",
				"c_link_url": "#",
				"c_link_rel_attr": false,
				"c_link_aria_label_attr": false,
				"c_link_target_attr": false
			},
			{
				"modifier_class": "",
				"c_link_classes": "lrv-a-unstyle-link",
				"c_link_text": "A plain text link",
				"c_link_url": "#",
				"c_link_rel_attr": false,
				"c_link_aria_label_attr": false,
				"c_link_target_attr": false
			}
		],
		"o_nav_list_labelledby_attr": ""
	}
}