For AI agents: the complete documentation index is available at https://rickyshin93.github.io/tao-ui/llms.txt, the full documentation bundle is available at https://rickyshin93.github.io/tao-ui/llms-full.txt, and this page is available as Markdown at https://rickyshin93.github.io/tao-ui/components/pagination.md.
v0.0.57
  • English
  • Pagination

    Navigation@rockshin/tao-ui

    Moves through paged data with current page and page-size controls.

    When to use

    Use Pagination when a collection is split into pages rather than infinitely loaded.

    Recommended

    • Keep the current page controlled when data is loaded remotely.
    • Show total counts when they help users judge scope.

    Avoid

    • Do not use the component outside its intended interaction model.

    Examples

    Basic usage

    TSX

    Sizes

    TSX

    Page size and totals

    TSX

    Display totals

    showTotal can describe the current record range and total count.

    TSX

    Change page size

    Maintain page and page size together and use both updated values in a data request.

    TSX

    Pagination sizes

    Size controls the density of pagination buttons and can match the surrounding list.

    TSX

    API

    Pagination

    PropertyDescriptionTypeDefault Value
    disabledWhether to disableboolean | undefined-
    classNameAdditional css classstring | undefined-