No release in over 3 years
Low commit activity in last 3 years
Bootstrap 5 compatible styles for Kaminari gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0.13
>= 3.1
 Project Readme

Bootstrap 5 Kaminari Views

Bootstrap 5 compatible styles for Kaminari. Tested on Bootstrap 5.0.1.

Installation

Add to your Gemfile

  gem 'kaminari'
  gem 'bootstrap5-kaminari-views'

And run in console

bundle install

Usage

Render pagination with this gem's theme:

paginate @users, theme: 'bootstrap-5'

You can also add specific pagination and nav classes:

  paginate @users, theme: 'bootstrap-5',
                   pagination_class: "pagination-sm flex-wrap justify-content-center",
                   nav_class: "d-inline-block"

Credits

Kaminari - Pagination gem

twitter-bootstrap-kaminari-views - Original, non-gemified implementation

bootstrap-kaminari-views - Bootstrap 2.x and 3.x compatible gem

bootstrap4-kaminari-views - Bootstrap 4.0 compatible gem