2014-07-13 15:59:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								---
							 
						 
					
						
							
								
									
										
										
										
											2015-08-15 13:45:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								layout: docs
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 15:59:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								title: Pagination
							 
						 
					
						
							
								
									
										
										
										
											2017-05-28 14:01:14 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								description: Documentation and examples for showing pagination to indicate a series of related content exists across multiple pages.
							 
						 
					
						
							
								
									
										
										
										
											2015-08-06 08:47:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								group: components
							 
						 
					
						
							
								
									
										
										
										
											2017-05-28 14:01:14 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								toc: true
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 15:59:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-01-07 06:47:33 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								## Overview
 
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 16:17:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:43:06 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								We use a large block of connected links for our pagination, making links hard to miss and easily scalable—all while providing large hit areas. Pagination is built with list HTML elements so screen readers can announce the number of available links. Use a wrapping `<nav>`  element to identify it as a navigation section to screen readers and other assistive technologies.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								In addition, as pages likely have more than one such navigation section, it's advisable to provide a descriptive `aria-label`  for the `<nav>`  to reflect its purpose. For example, if the pagination component is used to navigate between a set of search results, an appropriate label could be `aria-label="Search results pages"` .
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:43:06 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< nav  aria-label = "Page navigation example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  < ul  class = "pagination" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > Previous< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > Next< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / nav > 
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  / example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 16:17:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:43:49 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								## Working with icons
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-04-21 13:07:27 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								Looking to use an icon or symbol in place of text for some pagination links? Be sure to provide proper screen reader support with `aria`  attributes.
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:43:49 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:43:49 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< nav  aria-label = "Page navigation example" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < ul  class = "pagination" > 
							 
						 
					
						
							
								
									
										
										
										
											2015-12-08 14:24:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > 
							 
						 
					
						
							
								
									
										
										
										
											2015-10-30 13:03:06 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								      < a  class = "page-link"  href = "#"  aria-label = "Previous" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-12-01 12:17:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								        < span  aria-hidden = "true" > « < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2015-12-08 14:24:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > 
							 
						 
					
						
							
								
									
										
										
										
											2015-10-30 13:03:06 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								      < a  class = "page-link"  href = "#"  aria-label = "Next" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-12-01 12:17:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								        < span  aria-hidden = "true" > » < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / nav > 
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  / example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2014-03-17 10:03:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-01-07 06:47:33 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								## Disabled and active states
 
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 16:17:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:44:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								Pagination links are customizable for different circumstances. Use `.disabled`  for links that appear un-clickable and `.active`  to indicate the current page.
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 16:17:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:44:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								While the `.disabled`  class uses `pointer-events: none`  to _try_  to disable the link functionality of `<a>` s, that CSS property is not yet standardized and doesn't account for keyboard navigation. As such, you should always add `tabindex="-1"`  on disabled links and use custom JavaScript to fully disable their functionality.
							 
						 
					
						
							
								
									
										
										
										
											2015-12-26 21:50:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-04-10 22:01:06 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< nav  aria-label = "..." > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < ul  class = "pagination" > 
							 
						 
					
						
							
								
									
										
										
										
											2015-12-08 14:24:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item disabled" > 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-07 03:14:21 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								      < a  class = "page-link" > Previous< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2014-12-01 12:17:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:44:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2018-04-21 13:07:27 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item active"  aria-current = "page" > 
							 
						 
					
						
							
								
									
										
										
										
											2020-10-14 18:59:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								      < a  class = "page-link"  href = "#" > 2< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2014-12-01 12:17:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2015-12-08 14:24:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > 
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:44:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								      < a  class = "page-link"  href = "#" > Next< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2014-12-01 12:17:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / nav > 
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  / example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 16:17:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-12-26 21:50:18 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								You can optionally swap out active or disabled anchors for `<span>` , or omit the anchor in the case of the prev/next arrows, to remove click functionality and prevent keyboard focus while retaining intended styles.
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 16:17:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-04-10 22:01:06 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< nav  aria-label = "..." > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < ul  class = "pagination" > 
							 
						 
					
						
							
								
									
										
										
										
											2015-12-08 14:24:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item disabled" > 
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:44:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								      < span  class = "page-link" > Previous< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2018-04-21 13:07:27 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item active"  aria-current = "page" > 
							 
						 
					
						
							
								
									
										
										
										
											2020-10-14 18:59:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								      < span  class = "page-link" > 2< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2014-12-01 12:17:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:44:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      < a  class = "page-link"  href = "#" > Next< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / nav > 
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  / example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2014-03-17 10:03:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-01-07 06:47:33 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								## Sizing
 
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 16:17:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Fancy larger or smaller pagination? Add `.pagination-lg`  or `.pagination-sm`  for additional sizes.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-04-10 22:01:06 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< nav  aria-label = "..." > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < ul  class = "pagination pagination-lg" > 
							 
						 
					
						
							
								
									
										
										
										
											2018-04-21 13:07:27 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item active"  aria-current = "page" > 
							 
						 
					
						
							
								
									
										
										
										
											2020-10-14 18:59:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								      < span  class = "page-link" > 1< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2014-12-01 12:17:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2015-12-08 14:24:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / nav > 
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  / example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2014-07-13 16:17:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-04-10 22:01:06 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< nav  aria-label = "..." > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < ul  class = "pagination pagination-sm" > 
							 
						 
					
						
							
								
									
										
										
										
											2018-04-21 13:07:27 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item active"  aria-current = "page" > 
							 
						 
					
						
							
								
									
										
										
										
											2020-10-14 18:59:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								      < span  class = "page-link" > 1< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:44:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / nav > 
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  / example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:45:11 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Alignment
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-02-04 18:22:02 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								Change the alignment of pagination components with [flexbox utilities ]({{< docsref "/utilities/flex" >}} ).
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:45:11 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:45:11 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< nav  aria-label = "Page navigation example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  < ul  class = "pagination justify-content-center" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item disabled" > 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-07 03:14:21 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								      < a  class = "page-link" > Previous< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2014-12-01 12:17:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2015-12-08 14:24:50 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > 
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:45:11 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								      < a  class = "page-link"  href = "#" > Next< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / nav > 
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  / example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:45:11 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:45:11 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								< nav  aria-label = "Page navigation example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  < ul  class = "pagination justify-content-end" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item disabled" > 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-07 03:14:21 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								      < a  class = "page-link" > Previous< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 06:45:11 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > < a  class = "page-link"  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    < li  class = "page-item" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      < a  class = "page-link"  href = "#" > Next< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2014-12-01 12:17:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								    < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2014-09-18 06:21:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / nav > 
							 
						 
					
						
							
								
									
										
										
										
											2019-01-09 00:33:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  / example  > }}
							 
						 
					
						
							
								
									
										
										
										
											2021-02-11 11:29:59 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-02-17 02:26:24 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								## CSS
 
							 
						 
					
						
							
								
									
										
										
										
											2021-02-11 11:29:59 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Variables
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-03-12 03:29:52 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								< small  class = "d-inline-flex px-2 py-1 fw-semibold text-success bg-success bg-opacity-10 rounded-2" > Added in v5.2.0< / small > 
							 
						 
					
						
							
								
									
										
										
										
											2022-02-17 02:26:24 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								As part of Bootstrap's evolving CSS variables approach, pagination now uses local CSS variables on `.pagination`  for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{{<  scss-docs  name = "pagination-css-vars"  file = "scss/_pagination.scss"  > }}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Sass variables
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-02-11 11:29:59 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{{<  scss-docs  name = "pagination-variables"  file = "scss/_variables.scss"  > }}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-02-17 02:26:24 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### Sass mixins
 
							 
						 
					
						
							
								
									
										
										
										
											2021-02-11 11:29:59 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{{<  scss-docs  name = "pagination-mixin"  file = "scss/mixins/_pagination.scss"  > }}