## Outcome Build reusable numbered pagination and a small mock paging helper so recipe result sets can be divided into pages consistently. The paging logic should stay separate from the UI so the mock implementation can later be replaced by server-side pagination without redesigning the pagination component. ## Course relevance Demonstrates reusable component design, separation of concerns, and scalable handling of larger result sets. Pagination state and data processing are kept separate from presentation so the same UI structure can later work with backend-provided paginated data. ## Acceptance checks - [ ] Previous, next, and numbered pagination controls are available - [ ] The current page is clearly indicated and uses `aria-current="page"` - [ ] A reusable paging helper applies page and page size to a result set - [ ] Changing page changes the visible recipes - [ ] Invalid or out-of-range pages are handled safely - [ ] Pagination is applied to the already-filtered result set - [ ] Pagination remains usable on both desktop and mobile - [ ] Paging helper and pagination behavior have focused tests