BridgeBeta
  • Brand
  • Digital Assets
    Foundations
    Icons
    Components
    Templates
  • Resources
    Design Tokens
    How-tos
    Best Practices
    Libraries
    Accessibility
    Products List
  • Support
    • Overview
    • Actions
      • Overview
      • Button
      • ContextMenu
      • Link
    • Controls
      • Overview
      • Checkbox
      • Tag
      • Toggle
    • Forms
      • Overview
      • DatePicker
      • FileUploader
      • Input
      • NumberInput
      • RadioButton
      • Search
      • Select
      • Slider
      • TextArea
      • TextInput
    • Hooks
      • useIsomorphicLayoutEffect
      • useMediaQuery
      • useSettings
    • Navigation
      • Overview
      • AnchorNavigation
      • BannerNavigation
      • Breadcrumb
      • Footer
      • InfoBar
      • MainNavigation
      • SecondaryNavigation
      • StepNavigation
      • SubNavigation
    • Overlay
      • Overview
      • Credits
      • Modal
      • ModalWrapper
      • Notification
      • Tooltip
    • Structure
      • Overview
      • Accordion
      • AuthLayout
      • Avatar
      • Callout
      • Card
      • ContentSwitcher
      • Empty
      • Hero
      • InlineLoading
      • Item
      • List
      • Loading
      • mdxComponents
      • Module
      • Pagination
      • ReadMore
      • Story
      • Table
      • Tabs
      • Text
      • Unit
      • User
      • WFPCoreProvider
      • Wrapper
Components
Structure
Pagination

Pagination

  • Design
  • Code
  • Props

Import statement

import { Pagination } from "@wfp/react"

Usage

Expand code

Editable Example

<Pagination
  backwardText="Backward"
  forwardText="Forward"
  itemsPerPageText="Items"
  itemRangeText={(min, max, total) =>
    `${min}-${max} of ${total} items`
  }
  pageRangeText={(current, total) =>
    `${current} of ${total} pages`
  }
  pageSizes={[5, 10, 20]}
  totalItems={50}
/>;

This example sets up a Pagination component for navigating through 100 items, with options to display 5, 10, or 20 items per page.

On this page

  • Usage

References

  • Storybook
Storybook
Figma library
Contact us
2025 © World Food Programme