protected function _icon($title, array $options = [])
    {
        if (empty($options) || !isset($options['icon'])) {
            return $title;
        }
        $options = $options['icon'];

        if (is_array($options)) {
            if (!isset($options['class']) || empty($options['class'])) {
                return $title;
            }
        }
        if (is_string($options)) {
            if (empty($options)) {
                return $title;
            }
            $icon = $this->iconPrefix;
            $options = ["class" => "$icon $icon-$options"];
        }
        $tag = parent::tag('i', '', $options);
        return trim($tag . ' ' . $title);
    }