breadcrumbcomponent, implemented in Ruby. Use it like any other matestack component in your apps, pages and components. It offers customizable options to simply achieve what is possible in bootstrap with this component. See below for more information about the possible options.
itemsand/or content specified by a block. The breadcrumb is customizable with the following options.
:items- Expects an array of hashes. Each hash represents an item and is required to contain at least
:textkeys. The items will be rendered as transitions with all attributes from the hash injected into the transition component. In case you want links instead of transitions add a
type: :linkto the item which should be rendered as link. If items are given and a block the items are rendered before the block.
:nav_class- Expects a string. Use
:nav_classto add custom classes to the sourrounding "nav".
&block- Use a block to create custom content/markup inside a breadcrumb. If used together with
:textthe text will be displayed before the block.