Get boba!
boba Version 1.7.2
  • Introduction
  • Installation
  • Customize
  • Compatibility
  • Changelog
  • Breakpoints
  • Colors
  • Typography
  • Containers
  • Grid
  • Navbar
  • Sections
  • Sidebar
  • Banners
  • Breadcrumbs
  • Cards
  • Collapsible
  • Messages
  • Notifications
  • Pagination
  • Tabs
  • Tables
  • Blockquotes
  • Buttons
  • Code
  • Counters
  • Descriptions
  • Dividers
  • Labels
  • Lists
  • Progress
  • Checkboxes
  • Inputs
  • Radios
  • Selects
  • Switches
  • Textareas
  • Animations
  • Background
  • Borders
  • Display
  • Flex
  • Images
  • Shadows
  • Shapes
  • Sizing
  • Spacing
  • Text

Components

Learn how to build your website with boba!

Pagination

Pagination comes in all of boba's colors.
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
<div class="pagination green">
    <a href="#"> « </a>
    <a href="#"> 1 </a>
    <a href="#" class="active"> 2 </a>
    <a href="#"> 3 </a>
    <a href="#"> » </a>
</div>

Sizes

Pagination can be resized.

Small

« 1 2 3 »

Default

« 1 2 3 »

Medium

« 1 2 3 »

Large

« 1 2 3 »
<div class="pagination small">
    <a href="#"> « </a>
    <a href="#"> 1 </a>
    <a href="#" class="active"> 2 </a>
    <a href="#"> 3 </a>
    <a href="#"> » </a>
</div>

<div class="pagination">
    ...
</div>

<div class="pagination medium">
    ...
</div>

<div class="pagination large">
    ...
</div>

Styles

Change the look of your pagination with ease.

Rounded

Give your pagination will have a rounded look using the .rounded class.
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
<div class="pagination rounded green">
    <a href="#"> « </a>
    <a href="#"> 1 </a>
    <a href="#" class="active"> 2 </a>
    <a href="#"> 3 </a>
    <a href="#"> » </a>
</div>

Inverted

Invert the default styling of pagination using the .inverted class. Try hovering over the pagination!
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
<div class="pagination inverted green">
    <a href="#"> « </a>
    <a href="#"> 1 </a>
    <a href="#" class="active"> 2 </a>
    <a href="#"> 3 </a>
    <a href="#"> » </a>
</div>

Bordered

Add a border around each pagination option using the .bordered class.
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
« 1 2 3 »
<div class="pagination rounded green">
    <a href="#"> « </a>
    <a href="#"> 1 </a>
    <a href="#" class="active"> 2 </a>
    <a href="#"> 3 </a>
    <a href="#"> » </a>
</div>

Combinations

Mix and match the .rounded, .inverted, and .bordered classes to create the perfect pagination.
Rounded, Bordered, Default Pagination

« 1 2 3 »

Inverted, Bordered, Red Pagination

« 1 2 3 »

Inverted, Rounded, Bordered, Green Pagination

« 1 2 3 »
<!-- Rounded, Bordered, Default Pagination -->
<div class="pagination rounded bordered">
    <a href="#">«</a>
    <a href="#">1</a>
    <a href="#" class="active">2</a>
    <a href="#">3</a>
    <a href="#">»</a>
</div>


<!-- Inverted, Bordered, Red Pagination -->
<div class="pagination inverted bordered red">
    <a href="#">«</a>
    <a href="#">1</a>
    <a href="#" class="active">2</a>
    <a href="#">3</a>
    <a href="#">»</a>
</div>

<!-- Inverted, Rounded, Bordered, Green Pagination -->

<div class="pagination inverted bordered rounded green">
    <a href="#">«</a>
    <a href="#">1</a>
    <a href="#" class="active">2</a>
    <a href="#">3</a>
    <a href="#">»</a>
</div>

Spacing

Use the .more-spacing class to spread out your pagination.

Default

« 1 2 3 »

More Spacing

« 1 2 3 »
<div class="pagination more-spacing">
    <a href="#"> « </a>
    <a href="#"> 1 </a>
    <a href="#" class="active"> 2 </a>
    <a href="#"> 3 </a>
    <a href="#"> » </a>
</div>

Alignment

Use the .text-left, .text-center, and .text-right helper classes to easily align your pagination.

Left

« 1 2 3 »

Center

« 1 2 3 »

Right

« 1 2 3 »
<-- Left Align -->
<div class="text-left">
    <div class="pagination">
        <a href="#"> « </a>
        <a href="#"> 1 </a>
        <a href="#" class="active"> 2 </a>
        <a href="#"> 3 </a>
        <a href="#"> » </a>
    </div>
</div>

<-- Center Align -->
<div class="text-center">
    <div class="pagination">
        ...
    </div>
</div>

<-- Right Align -->
<div class="text-right">
    <div class="pagination">
        ...
    </div>
</div>