Drupal Radix Theme
  • Introduction
    • Overview & Support
  • Installation
    • Requirements
    • Getting Started
    • Setup with ddev
  • Understanding Radix
    • Individual files and directories
    • Bootstrap Build
    • Bootswatch
  • Working with the components
    • Components: Intro
    • Components: A deep dive
    • An example component
    • The drupal-radix-cli
    • Copy and modify a component
  • Components
    • Accordion
    • Alerts
    • Badge
    • Block
    • Buttons
    • Button Group
    • Breadcrumb
    • Card
    • Carousel
    • Close button
    • Comment
    • Collapse
    • Details
    • Dropdown menu
    • Field
    • Field Comment
    • Fieldset
    • Figure
    • Form
    • Form: Element
    • Form Element Label
    • Form Element: Radio Checkbox
    • Heading
    • HTML
    • Image
    • Input
    • List group
    • Local Tasks
    • Media
    • Modal
    • Nav
    • Nav Item
    • Navbar
    • Navbar Brand
    • Node
    • Offcanvas
    • Page
    • Page: Content
    • Page: Footer
    • Page: Navigation
    • Page: Title
    • Pagination
    • Progress
    • Radios
    • Region
    • Select
    • Spinners
    • Table
    • Taxonomy
    • Textarea
    • Toasts
    • Tooltips
    • User
    • Views: view
    • Views: view--grid
    • Views: view--table
    • Views: view--unformatted
  • Misc
    • Migration and upgrading
    • Roadmap
    • Credits & Contributions
Powered by GitBook
On this page
  • Key Features
  • Customization Options
  • Usage

Was this helpful?

  1. Components

Pagination

Documentation and examples for showing pagination to indicate a series of related content exists across multiple pages.

Key Features

  • Utility Class Integration: Allows for the addition of custom utility classes for further customization and styling of the pagination component.

  • Size Customization: Supports different sizes such as 'sm' (small) and 'lg' (large) for pagination buttons.

  • Flexible Alignment: Includes alignment options like 'start', 'end', 'center', and 'vertical' for positioning the pagination within the layout.

  • Accessibility Features: Designed with accessibility in mind, ensuring that the pagination component is usable by all audiences.

Customization Options

  • Dynamic CSS Classes: Customize the appearance of the pagination with custom CSS classes, size options, and alignment settings.

  • Adaptive Content: Easily adapt the pagination component to different content types and page structures.

Usage

{% include 'radix:pagination' with {
  pagination_utility_classes: ['custom-pagination-class'],
  size: 'lg',
  alignment: 'center',
  items: items,
} %}
PreviousPage: TitleNextProgress

Last updated 1 year ago

Was this helpful?