faboslav/yii2-material-tabs Animated Material Tabs widget for Yii2.

  1. Installation
  2. Preview
  3. Usage
  4. Licence

Installation

The preferred way to install this extension is through composer.

Either run

$ php composer.phar require faboslav/yii2-material-tabs "dev-master"

or add

"faboslav/yii2-material-tabs": "dev-master"

to the `require` section of your composer.json file.

Preview

MaterialTabsPreview

Usage

MaterialNavBar
use faboslav\materialtabs\MaterialTabs

echo MaterialTabs::widget([
    'items' => [
        [
            'label' => '<i class="material-icons">home</i>',
            'content' => 'Tab one content.'
        ],
        [
            'label' => 'Tab two',
            'content' => 'Tab two content<br><br>Text<br><br>Text',
        ],
        [
            'label' => 'Tab three',
            'content' => 'Tab three content<br>Text<br>Text',
            'active' => true
        ],
        [
            'icon' => '<i class="material-icons">people</i>',
            'label' => 'Tab four',
            'content' => 'Tab four content<br><br>Text<br>Text'
        ],
        [
            'label' => 'Tab five',
            'content' => 'Tab five content<br>Text'
        ],
    ]
]);

Licence

The MIT License (MIT)

0 0
1 follower
9 downloads
Yii Version: Unknown
License: (not set)
Category: User Interface
Developed by: Faboslav
Created on: Jun 11, 2018
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions