Widgets are reusable building blocks used to create complex and configurable user interface elements in an object-oriented fashion.
The package could be installed via composer:
composer require yiisoft/widget
The package is tested with PHPUnit. Tests could be run with
./vendor/bin/phpunit