Skip to main content
Version: 0.8.0

Release Notes

v0.8.0

January 2026

New Features

LoaderBar Component

A progress bar that automatically shows at the top of the page during HTTP requests.

import { LoaderBar } from '@abpjs/theme-shared';

function Layout({ children }) {
return (
<>
<LoaderBar />
<Navbar />
{children}
</>
);
}

Props:

PropTypeDefaultDescription
containerClassstring'abp-loader-bar'CSS class for container
progressClassstring'abp-progress'CSS class for progress bar
filterfunction-Filter which requests trigger the loader

ErrorComponent

A component for displaying full-page error states (404, 500, etc.).

import { ErrorComponent } from '@abpjs/theme-shared';

<ErrorComponent
title="404"
details="The page you are looking for was not found."
showCloseButton
onDestroy={() => navigate('/')}
closeButtonText="Go Home"
/>

Props:

PropTypeDefaultDescription
titlestring'Error'Error title (e.g., "404")
detailsstring'An error has occurred.'Error message
showCloseButtonbooleantrueShow dismiss button
onDestroyfunction-Called when button is clicked
closeButtonTextstring'Go Back'Button text

DEFAULT_STYLES Constant

Global CSS styles for ABP components that you can inject into your app.

import { DEFAULT_STYLES } from '@abpjs/theme-shared';

// Add to your app
<style>{DEFAULT_STYLES}</style>

Includes styles for:

  • Form validation (.is-invalid)
  • Ellipsis text truncation (.abp-ellipsis)
  • Loader bar animations
  • Modal backdrop
  • Fade animations

Enhanced useErrorHandler

New methods added to the error handler hook:

const {
handleError,
showError,
navigateToLogin,
// New in v0.8.0:
createErrorComponent,
errorComponentProps,
clearErrorComponent,
} = useErrorHandler({ navigate });

// Create and display an error component
createErrorComponent({ title: '500', details: 'Server error' });

// Clear the error display
clearErrorComponent();

v0.7.6

January 2026 - Initial Release

  • Toaster service (success, error, warning, info)
  • Confirmation service with promise-based dialogs
  • Global error handler for ABP errors
  • Light and dark mode support