Create a simple to-top scroller.


The Totop component allows you to apply an icon to your to-top scroller. Just add the uk-totop attribute to an <a> element.

To add a smooth effect when using the totop to jump up the page, use the Scroll component.

<a href="" uk-totop></a>
<a href="#" uk-totop uk-scroll></a>