#134
Few items
Pagination with 30 items at 10 per page and no bound state.
Hand this to your AI. It names the exact library parts, timings and accessibility promises of this demo.
Build the "Few items" pattern (@codeatlasdev/ui demo #134, display/pagination) in my app.
Call get_demo({ ids: ["#134"] }) first and keep its structure. It needs @codeatlasdev/[email protected].
Use: Short result sets with only a few pages.
Keep these library parts, with the props and tokens the demo uses:
- Pagination from "@codeatlasdev/ui"
Behaviour to keep:
- `<Pagination count={30} perPage={10} />`
- Only `count` and `perPage` are set, nothing is bound
Reduced motion: the demo handles it; keep that branch.
Keyboard: operable; keep the focus order and key handling.
Change only the copy and the data. Use the theme tokens (--ca-*), never raw colours. Library parts
- Pagination
@codeatlasdev/ui
How it is built
- `<Pagination count={30} perPage={10} />`
- Only `count` and `perPage` are set, nothing is bound
Related
Loading source.