Skip to content

ButtonList

Lays its children out in a row with Tabler’s btn-list: a flex container with a 0.5rem gap that wraps when the row is too narrow. Unlike ButtonGroup, the buttons keep their own borders and radius.

center centers the row (btn-list-center). To push the buttons to the end, add the justify-content-end class:

The buttons move to the next line when they do not fit, with the same gap between rows:

Any child is spaced the same way: a button group or a dropdown sits next to plain buttons.

Prop Type Default Description
center bool false Centers the row (btn-list-center)

Other attributes go to the root <div class="btn-list">.

Block Default
content Empty: the children, the buttons