pager is a good Example for and nested component
See the Pen Pager by leeluolee (@leeluolee) on CodePen.
we have created a collection on codepen.io and will keep update