# Dotquilt and ngx-skeleton-loader

> How Dotquilt compares with ngx-skeleton-loader, as an Angular skeleton loader alternative. Angular versions, size, accessibility, server rendering, CSP and how loading ends, with sources.

[ngx-skeleton-loader](https://github.com/willmendesneto/ngx-skeleton-loader) is the most used Angular skeleton library: one component that draws lines, circles or your own shapes, with a choice of animations, which you show until your content is ready. Dotquilt is a newer set of skeleton loaders that wrap the part of the page that loads, keep it out of reach while it is pending, then hand over to it. Both are MIT-licensed.

**In short:** pick ngx-skeleton-loader on Angular 19 to 21, or when you want a small, mature component with a built-in progress bar role, many animation styles and a test harness, and an instant swap to your content is enough. Pick Dotquilt on Angular 22 when a region should manage its loading states (inert pending content, focus kept, refreshing without hiding) and hand over to the real content, or when you want chart and table loaders, or the same loaders in other frameworks.

## At a glance

Checked on 30 November 2026.

| | ngx-skeleton-loader 14.1 | Dotquilt 0.2 (`@dotquilt/angular`) |
| --- | --- | --- |
| Downloads a week | [277,049](https://api.npmjs.org/downloads/point/last-week/ngx-skeleton-loader) | [262](https://api.npmjs.org/downloads/point/last-week/@dotquilt/angular) (new in November 2026) |
| GitHub stars | [622](https://github.com/willmendesneto/ngx-skeleton-loader) | [3](https://github.com/b4rb13/dotquilt) |
| Latest release | [14.1.0, 25 November 2026](https://registry.npmjs.org/ngx-skeleton-loader) | 0.2, November 2026 |
| Angular versions | 19 and later | 22 |
| Other frameworks | none | React, Vue, Svelte and plain HTML |
| Size (minified and gzipped) | [about 3 KB](https://bundlephobia.com/package/ngx-skeleton-loader@14.1.0), styles included | about 7 KB for a skeleton and 11.7 KB for a region in the native elements, plus the Angular components |
| What it draws | lines, circles, squares, your own content | lines, blocks, circles, text, charts, tables, values and typing dots |
| Animations | progress, pulse, wave, dark variants, your own, with stagger | a glow over the marks that stops after four seconds, and chart animations |
| How loading ends | your template swaps it for the content (`@if` or `@defer`) | the marks take the content's shape, then the content wipes in (about a second) |
| Pending content | not wrapped: you show the skeleton instead of it | inert, hidden from assistive technology and `aria-busy`; focus is kept |
| Screen readers | each component is a labelled `progressbar` | loaders are hidden; you add your own status message |
| Reduced motion | animations stop | loaders hold a still picture, and the handoff swaps at once |
| Forced colours | no rules | a dotted outline in the system text colour |
| Content Security Policy | Angular's component styles, with your app's nonce | Angular's component styles and your app's `CSP_NONCE`, or external stylesheets |
| Server rendering | supported | placeholder markup in the first HTML, kept by hydration |
| Testing | a component harness for the Angular CDK | DOM events and outputs; no harness |

## Where ngx-skeleton-loader is better

- **Angular versions.** It supports Angular 19 and later; `@dotquilt/angular` needs Angular 22, which rules it out for most existing apps today.
- **Adoption and maintenance.** About 277,000 downloads a week, eight years of releases, and a new version in November 2026.
- **Size.** About 3 KB, styles included.
- **Screen readers hear "loading" with no extra work.** Each component is a `progressbar` with a label. Dotquilt hides its loaders and leaves the announcement to you.
- **Animation choice.** Several built-in animations, dark variants, stagger, right-to-left, and your own.
- **Testing.** A CDK component harness.
- **Simplicity.** One component, with Angular's own `@if` or `@defer` doing the swap.

## Where Dotquilt differs

- **It manages the loading states.** A region is `pending`, `refreshing` or `ready`. While pending, its content is inert and hidden from assistive technology, and focus inside it moves to the region. `refreshing` keeps the content usable while newer data loads.
- **It hands over.** Instead of the skeleton disappearing, its marks take the shape of the content that arrived, then the content takes over. See [the handoff](/docs/components/loading-region/#the-handoff).
- **No flicker on fast loads.** `[delay]` skips the placeholder when data arrives quickly, and `[minDisplay]` keeps it long enough not to flash.
- **Loaders for data.** [ChartLoader](/docs/components/chart-loader/), [TableLoader](/docs/components/table-loader/), [TextLoader](/docs/components/text-loader/) and [TypingDots](/docs/components/typing-dots/).
- **Forced colours and a limit on motion.** See [Motion and accessibility](/docs/guides/motion/).
- **Beyond Angular.** The same loaders work in React, Vue, Svelte and plain HTML, for teams with more than one stack.

## Moving from ngx-skeleton-loader

```html title="ngx-skeleton-loader"
@if (team(); as team) {
  <app-team-list [team]="team" />
} @else {
  <ngx-skeleton-loader count="5" />
}
```

```html title="Dotquilt"
<dotquilt-region [state]="team() ? 'ready' : 'pending'" aria-label="Team">
  <div dotquiltPlaceholder><dotquilt-skeleton-text [lines]="5" /></div>
  @if (team(); as team) {
    <app-team-list [team]="team" />
  }
</dotquilt-region>
```

- Import `LoadingRegion`, `SkeletonText` and the `DotquiltPlaceholder` directive into the component's `imports`.
- `count="n"` becomes `[lines]="n"` on `<dotquilt-skeleton-text>`; `appearance="circle"` is `<dotquilt-skeleton-circle />`, sized with CSS.
- `[theme]` and the `--ngx-skeleton-loader-*` properties become `--dotquilt-color` and `--dotquilt-accent-color`. See [Theming](/docs/theming/).
- The `@if` that swapped the skeleton for your content becomes the region's `state`; keep the `@if` around the content, so the placeholder holds its own size. See [Angular](/docs/guides/angular/).

## Sources

Checked on 30 November 2026: downloads from the npm API (the week of 23–29 November), stars and releases from GitHub and the npm registry, size from Bundlephobia, behaviour from ngx-skeleton-loader's published 14.1.0 package and its README and changelog. Dotquilt's sizes come from `bun run size` in [its repository](https://github.com/b4rb13/dotquilt). Something out of date? [Open an issue](https://github.com/b4rb13/dotquilt/issues).
