8 CSS & JavaScript Snippets for Creating Paginated Navigations


By

Pagination is one of those little design necessities that often gets overlooked. But for blogs and other content-heavy sites, it provides an important means of navigating between pages. A well-crafted paginated website can encourage users to explore further what you have to offer.

Some designers dare to take pagination to the next level. Here’s a look at some very creative CSS and JavaScript code snippets that you can use for free to improve the pagination on your own website.



Simple & Intuitive Pagination with Hover Effects by Mark Mead

Our first example shows how some basic hover effects can vastly improve standard pagination. The ultra-smooth underline that follows your cursor makes for a much more intuitive experience. Plus, the entire menu is very easy to read. This is a simple way to help users.

See the Pen Line Pagination with Hover (PureCSS) by Mark Mead

Live Count Pagination by Simon Codrington

One of the most frustrating parts of pagination can be how menus handle a large number of pages. This snippet uses jQuery to show adjacent page numbers as you click. It’s a much easier path to follow.

See the Pen jQuery Pagination Example (twbs-pagination) by Simon Codrington

The Kitchen Sink Pagination by Simon Goellner

This is an exciting concept. Designed to be both responsive and more accessible, this pagination UI contains multiple ways to navigate – including via a keyboard. The timeline-like bar at the top clearly labels the current page and offers a great overview of everything available.

See the Pen Pagination by Simon Goellner

Let the Yeti Guide You by Darin

They say good help is hard to find. But this snippet provides the help of a Yeti (at least, the hand of a Yeti) when clicking through the page numbers. While Yetis may not fit with your motif, this is an example of how we can add an element of fun (and surprise).

See the Pen Yeti Hand Pagination by Darin

Pagination Enhanced for Mobile Screens by Scott Carver

On smaller screens, pagination can be terribly difficult to use. Navigation items are often too small and too hard to read. This snippet provides a great alternative for mobile devices. Each item is larger as the navigation stretches vertically. The result is that mobile users can get around without having to squint their eyes or zoom in.

See the Pen Responsive Pagination by Scott Carver

Pagination with No Numbers by Mariusz Dabrowski

Sometimes, we don’t need to number each item within the pagination. This example is attractively minimal with the use of dots rather than numerals. It’s a good solution for slideshows or navigating multiple panels of content.

See the Pen Infinite Pagination by Mariusz Dabrowski

Touch Friendly Pagination by Pavel Zakharoff

Mobile UI works best when it reacts to a user’s touch. Here we have pagination that allows the user to swipe to get to the next or previous item. This little convenience can make all the difference when it comes to usability.

See the Pen Swiper custom pagination by Pavel Zakharoff

Combining Pagination with Infinite Scrolling by Tim Severien

Designers often use infinite scrolling to replace pagination. But this is a neat concept of how they can be combined. The frustration of infinite scroll is that it can be difficult to go back and find that one particular item. This snippet adds new page numbers to the navigation as you continue to scroll down, making returning to the previous page a little easier.

See the Pen Infinite Scroll + Pagination by Tim Severien


A great web design doesn’t ignore the various elements that make up a page. The pros above show that pagination has more to offer when you put some effort into enhancing it.

So, take some inspiration from these examples and create pagination menus that both look and function better.

More CSS Menu & Navigation Snippets


Top
This page may contain affiliate links. At no extra cost to you, we may earn a commission from any purchase via the links on our site. You can read our Disclosure Policy at any time.