/docs/components/pdf/move-pages
Move Pages
Reorder pages in the active PDF using move-top, move-bottom, move-up, and move-down.
The move actions reorder existing pages in the active PDF. All move actions use pageRange to identify which pages should move.
Choose the move action based on the destination behavior you need: top, bottom, up by one step, or down by one step.
- move-top: Moves the selected pages to the beginning of the document.
- move-bottom: Moves the selected pages to the end of the document.
- move-up: Moves the selected pages one position earlier.
- move-down: Moves the selected pages one position later.
All move actions share the same payload structure. Only the action value changes.
Move pages to top
Move a page down
Use this full standalone HTML document when you want a minimal host page for moving pages.
html
Complete HTML Example
Open the focused demo to test page move actions against a live PDF.
PDF Move Pages Demo
Focused live demo for move-top, move-bottom, move-up, and move-down.
Preview opens in a large modal for zoom-friendly review.
