src/helpers/Element.php
public static function labelGroup($labels = [], $options = [])
    {
        Ui::addCssClasses($options, ['ui', 'labels']);
        $lines = [];
        foreach ($labels as $label) {
            $content = ArrayHelper::remove($label, 'content');
            $lines[] = static::label($content, $label);
        }
        return Ui::tag('div', implode("\n", $lines), $options);
    }
public static function labelGroup($labels = [], $options = [])
    {
        Ui::addCssClasses($options, ['ui', 'labels']);
        $lines = [];
        foreach ($labels as $label) {
            $content = ArrayHelper::remove($label, 'content');
            $lines[] = static::label($content, $label);
        }
        return Ui::tag('div', implode("\n", $lines), $options);
    }
Generates a group of labels. Very useful when working with label tags

@param array $labels the array of tag options in terms name-value pairs of . They support a special tag:
- content: string, will be extracted from the options
@param array $options the tag options in terms of name-value pairs of the layer containing the label group

@return string the generated label group tag