How to implement carousels using lightening framework

Hii,
We followed the procedure mentioned in
LightningJS.io - Documentation,
but its showing error ui component is defined