public function icon($type, $text = '', array $options = [])
    {
        $icon = $this->iconPrefix;
        $class = "$icon $icon-$type";

        if (isset($options['class']) && !empty($class)) {
            $options['class'] = $class . ' ' . $options['class'];
        } else {
            $options['class'] = $class;
        }
        $tag = parent::tag('i', '', $options);
        return trim($tag . ' ' . $text);
    }