CoreUI Angular Logo
Framework:
  • JavaScript / Vanilla JS
  • React.js
  • Vue.js
Getting startedIntroductionSupport CoreUICustomizeSassOptionsCSS VariablesLayoutBreakpointsContainersGridColumnsGuttersFormsOverviewDate PickerPRODate Range PickerPROForm ControlSelectMulti SelectPROChecks & RadiosPassword InputPRORangeRange SliderPRORatingPROStepperPROInput GroupFloating LabelsLayoutTime PickerPROValidationComponentsAccordionAlertAvatarBadgeBreadcrumbButtonButton GroupCalendarPROCalloutCardCarouselClose buttonCollapseDropdownFooterHeaderImageList GroupLoading ButtonPROModalNavNavbarOffcanvasPaginationPlaceholderPopoverProgressSmart PaginationPROSmart TablePROSidebarSpinnerTableTabsNewToastTooltipWidgetsIconsChartsTemplatesNewAdmin & DasardDownloadInstallationCustomizeContentMigrationv4 → v5v3 → v4Angular version


DownloadHire UsGet CoreUI PRO
On this page
    CoreUI PRO for AngularThis component is part of CoreUI PRO – a powerful UI library with over 250 components and 25+ templates, designed to help you build modern, responsive apps faster. Fully compatible with Angular, Bootstrap, React.js, and Vue.js.Get CoreUI PRO

    Angular Smart Pagination Component

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

    Overview

    Angular smart pagination component consists of button-like styled links, that are arranged side by side in a horizontal list.

    We use a large block of connected links for our pagination, making links hard to miss and easily scalable — all while providing large hit areas. SmartPagination is built with list HTML elements so screen readers can announce the number of available links. SmartPagination also role="navigation" to identify it as a navigation section to screen readers and other assistive technologies.

    In addition, as pages likely have more than one such navigation section, SmartPagination provide a descriptive aria-label.

    Features

    • Determine behavior, style and functionality of pagination
    • Smart automatic items generation

    Examples


    • ...

    Selected: 2

    Loading...
    Loading...

    Working with icons

    Looking to use an icon or symbol in place of text for some pagination links? SmartPagination will provide screen reader support for 'firstButton', 'previousButton', 'nextButton' and 'lastButton'.

    Loading...

    Sizing

    Fancy larger or smaller pagination? Add size="lg" or size="sm" for additional sizes.

    • ...
    Loading...
    • ...
    Loading...

    Alignment

    Change the alignment of pagination components with align="start", align="center" or align="end" flexbox utilities.

    • ...
    Loading...
    • ...
    Loading...

    API

    SmartPagination Module

    import { SmartPaginationModule } from '@coreui/angular';
    
    @NgModule({
           imports: [SmartPaginationModule,]
    })
    export class AppModule() { }
    

    c-smart-pagination

    component

    Inputs

    namedescriptiontypedefault
    activePageCurrent page numbernumber1
    arrowsShow/hide arrowsbooleantrue
    doubleArrowsShow double arrows buttonsbooleantrue
    dotsShow dotsbooleantrue
    firstButtonThe content of first buttonstring«
    lastButtonThe content of last buttonstring»
    limitMaximum items numbernumber5
    pagesNumber of pagesnumber1
    nextButtonThe content of next buttonstring›
    previousButtonThe content of prev buttonstring‹
    sizeSize of paginationsm, lg''
    rolerole attrstringnavigation

    Outputs

    namedescriptiontype
    activePageChangeEvent emitted on activePage changenumber
    • Twitter
    • Support
    • CoreUI (Vanilla)
    • CoreUI for React.js
    • CoreUI for Vue.js

    CoreUI for Angular is Open Source UI Components Library for Angular.

    Currently v5.5.2 Code licensed MIT , docs CC BY 3.0 .
    CoreUI PRO requires a commercial license.