YII 2.0 How to create and use custom Widget

Hi, I’m using YII 2.0 and I want create my custom widget, Actually I created it but the problem is how to use it.I followed all the steps I have read from this tutorial http://www.yiiframework.com/doc-2.0/guide-structure-widgets.html

But I get this error,

Class ‘app\components\BCITNavBar’ not found


Above is the line where I called my custom widget.

My custom widget is BCITNavBar,

Can any one please tell me where to put custom widgets in YII 2.0 and how can I access them in my views, any configurations needed ?

Thank you

I put my custom widgets under app/common/widgets and it works,I’m now able to access them.