Admin lte dmstr

['label' => 'Комментарии', 
    'icon' => 'comment', 
    'template'=>'
        <a href="{url}">{icon} {label}
            <span class="pull-right-container">
                <small class="label pull-right bg-yellow">'.\common\models\Comment::find()->count().'</small>
            </span>
        </a>
    ',
    'url' => ['/comment/manage'], 
    'visible'=>Yii::$app->user->can('admin'),
],

К дочерним можно применять:

'active' => Yii::$app->controller->id === 'comment',

.bg-red, .bg-yellow, .bg-aqua, .bg-blue, .bg-light-blue, .bg-green, .bg-navy, .bg-teal, .bg-olive, .bg-lime, .bg-orange, .bg-fuchsia, .bg-purple, .bg-maroon, .bg-black, .bg-red-active, .bg-yellow-active, .bg-aqua-active, .bg-blue-active, .bg-light-blue-active, .bg-green-active, .bg-navy-active, .bg-teal-active, .bg-olive-active, .bg-lime-active, .bg-orange-active, .bg-fuchsia-active, .bg-purple-active, .bg-maroon-active, .bg-black-active,

https://fontawesome.com/v4.7.0/icons/

Обратная связь