<div class="inline-flex rounded-md shadow-sm" role="group"> {% for button in buttons %} {% button_group_button_sm href=button.href text=button.text color=button.color %} {% endfor %} </div>