Pagination component (willing to work on a PR) #8417
Replies: 3 comments
-
Let me now if this was in your plans @segunadebayo. Let me know, |
Beta Was this translation helpful? Give feedback.
-
Someone may be along with the official answer, but Ark has pagination components, so it looks like it will either be in Chakra v3 or at least you can roll your own with Ark - https://ark-ui.com/docs/components/pagination |
Beta Was this translation helpful? Give feedback.
-
Well I was wondering if there was a need to add it to the core components of Chackra instead of relying on other libraries. |
Beta Was this translation helpful? Give feedback.
-
Description
Hi there Chackra team, hope you are all well. I think I saw this same issue pop up a few times, but a pagination component would save a lot of time to all the users. Having a component that is similar to what Material UI offers would be amazing. I would be willing to work on a PR for this :).
Problem Statement/Justification
Right now there is no Pagination component and users have to create it from scratch.
Since this is a pretty redundant task and behavior of the component is suited to be centralized in a component,
this would be a useful feature for all the users of Chackra UI.
Proposed Solution or API
The API that I would propose would be similar to what Material UI has implemented.
A component with the following props:
Alternatives
There are no current alternatives that I would know of at the moment (other than creating it from scratch).
Additional Information
Materiaul UI pagination component : https://mui.com/material-ui/react-pagination/
Beta Was this translation helpful? Give feedback.
All reactions