faboslav / yii2-material-tabs
Animated Material Tabs widget for Yii2.
Installs: 73
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2-bootstrap: @dev
This package is not auto-updated.
Last update: 2024-12-19 21:34:54 UTC
README
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
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)