List groupcomponent, 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.
:items- expects an array of hashes with
badgeas possible keys
:variant- Specify a variant for the button. Variant represent bootstraps contextual classes and can have one of the following values:
:primary, :secondary, :success, :info, :warning, :info, :light, :darkor your custom contextual class via
active- If set true list item will have an active class
badge- If given, renders an additional badge
icon- Name of desired icon which will prepend the (optionally) given text
type- Can be
ul) when one of the items is
horizontal- to change the layout of list group items from vertical to horizontal across all breakpoints.
xxlto make a list group horizontal starting at that breakpoint’s min-width
variant- If set to
:flush, borders and rounded corners will be removed