Pagination
Page-of-N navigation for tables and lists.
Neither iOS nor Android has a numbered pagination control, and Dark Factory has no pager, so every platform shows one look built from Dark Factory's parts: the page numbers are bare pills, the current page is the violet pill, Previous and Next are hairline circles around chevrons, and the rows-per-page trigger is a hairline pill. A resting page or arrow takes the hover wash at once; a disabled pager keeps its outlines and mutes its numbers rather than fading. The cells are the Button's heights, so a pager lines up with a Button beside it.
In glass mode the current page is a brand-tinted control-layer puck behind its number; the other pages and the hairline arrows paint no surface, so they stay bare. Beyond seven pages a page change also shifts the window (an ellipsis moves, a number appears or drops out). Solid mode keeps the violet pill.
iOS
Android
Web
tsx
Default
With item range
With size
Sizes
First and last page
Props
Do & Don’t
compact
Don’t
Bare Previous/Next with no range label leaves the user unable to tell where they are or how much is left.
Do
Showing 11-20 of 118
Pass itemCount so the buttons carry a "Showing X-Y of N" range and position and total are always visible.
numbered
Don’t
Rendering every page number overflows and stops being scannable past a handful.
Do
Truncate the middle with an ellipsis; keep first, last, and a window around the current page.
with-size
Don’t
Offering a page-size selector without a page indicator hides which page the new size landed on.
Do
Rows per page
Page 2 of 12
Show "Page X of N" beside the size selector and reset to page 1 when the size changes.