Skip to content

[Frontend · Shared primitives] Create shared Pagination component #284

@amina69

Description

@amina69

Epic: Shared primitives
Labels: ui, state, phase-2, frontend
Size: XS (~2-4 hours)

Description

Reusable "Load more" button with loading state for cursor-based pagination.

Tasks

  • Accept hasNextPage, isFetchingNextPage, onLoadMore props
  • Show "Load more" button when hasNextPage
  • Show spinner inside button when isFetchingNextPage
  • Hide when !hasNextPage (all loaded)
  • Accessible: aria-label="Load more results"
  • Unit test: shown when hasMore, spinner during fetching, hidden when no more

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions