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 & DashboardDownloadInstallationCustomizeContentMigrationv4 → v5v3 → v4Angular version


DownloadHire UsGet CoreUI PRO
On this page
    CoreUI PRO for Angular This 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 Loading Button Component

    Angular Buttons with built-in loading indicators. Indicate the loading state of the button bridging the gap between action and feedback.

    Examples

    Cancellable on click by default.

    Border (default spinner)

    Loading...
    Loading...

    Grow

    Loading...
    Loading...

    Disabled on loading

    Non cancellable on click.

    Loading...
    Loading...

    API reference

    LoadingButton Module

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

    cLoadingButton

    directive

    Inputs
    name description type default
    disabledOnLoading Makes button disabled when loading. boolean false
    loading Loading state (set to true to start animation). boolean false
    spinnerType Type of spinner. border | grow border
    Outputs
    name description type
    loadingChange Event emitted on loading change. boolean
    • GitHub
    • 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.