Appearance

The Loader component provides several predefined appearance options such as different types, sizes and theme colors.

Type

The Loader allows you to set different animations by using the type input property.

The available type values are:

  • pulsing (Default)Applies pulsing animation on the Loader.
  • infinite-spinnerApplies infinite-spinner animation on the Loader.
  • converging-spinnerApplies converging-spinner animation on the Loader.
Example
View Source
Edit In Stackblitz  
Change Theme:

Theme Color

The Loader allows you to specify predefined theme colors.

The available themeColor values are:

  • primary (Default)Applies coloring based on primary theme color.
  • secondaryApplies coloring based on secondary theme color.
  • tertiary Applies coloring based on tertiary theme color.
  • infoApplies coloring based on info theme color.
  • success Applies coloring based on success theme color.
  • warning Applies coloring based on warning theme color.
  • error Applies coloring based on error theme color.
  • dark Applies coloring based on dark theme color.
  • light Applies coloring based on light theme color.
  • inverse Applies coloring based on inverted theme color.
Example
View Source
Edit In Stackblitz  
Change Theme:

Size

The Loader allows you to set different sizes.

The available size values are:

  • small
  • medium (Default)
  • large
Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?