Bootstrap 5 Kaminari Views

Bootstrap 5 compatible styles for Kaminari


Add to your Gemfile

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

And run in console

bundle install


Render pagination with this gem's theme

paginate @users, theme: 'bootstrap-5'

You can add specific pagination and nav classes

  paginate @users, theme: 'bootstrap-5',
                   pagination_class: "pagination-sm",
                   nav_class: "d-inline-block"


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