Bootstrap 5 compatible styles for Kaminari. Tested on Bootstrap 5.0.1.
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 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"
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