Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ngneat/content-loader

⚪️ SVG component to create placeholder loading, like Facebook cards loading.
https://github.com/ngneat/content-loader

angular content-loader facebook-loader loader

Last synced: 9 days ago
JSON representation

⚪️ SVG component to create placeholder loading, like Facebook cards loading.

Awesome Lists containing this project

README

        

# Angular Content Loader

[![All Contributors](https://img.shields.io/badge/all_contributors-11-orange.svg?style=flat-square)](#contributors-)


Example's react-content-loader

Angular component that uses SVG to create a collection of loaders which simulates the structure of the
content that will be loaded, similar to Facebook cards loaders.

[Live Demo](https://stackblitz.com/edit/ngx-content-loader)

## Sponsoring ngneat

[Sponsorships](https://github.com/sponsors/ngneat) aid in the continued development and maintenance of ngneat libraries. Consider asking your company to sponsor ngneat as its core to their business and application development.

### Gold Sponsors

Elevate your support by becoming a Gold Sponsor and have your logo prominently featured on our README in the top 5 repositories.

### Silver Sponsors

Boost your backing by becoming a Gold Sponsor and enjoy the spotlight with your logo prominently showcased in the top 3 repositories on our README.

### Bronze Sponsors


House of Angular

Become a bronze sponsor and get your logo on our README on GitHub.

## Features

This is an Angular port for [react-content-loader](https://github.com/danilowoz/react-content-loader).

- :gear: **Completely customizable:** you can change the colors, speed and sizes;
- :pencil2: **Create your own loading:** use the
[create-react-content-loader](https://danilowoz.github.io/create-react-content-loader/) to create
your custom loadings easily;
- :ok_hand: **You can use right now:** there are a lot of presets to use the loader, see the
[options](#examples);
- :rocket: **Performance:** uses pure SVG to work, so it works without any extra scripts,
canvas, etc;

Buy Me A Coffee

## Install

### Yarn

```bash
yarn add @ngneat/content-loader
```

## Usage

```ts
import { ContentLoaderModule } from '@ngneat/content-loader';

@NgModule({
imports: [ContentLoaderModule]
})
export class AppModule {}
```

```html






```

> Warning: Safari renders the SVG in black in case your Angular application uses the `` tag in the `