Dotquilt and react-loading-skeleton
Copy pagereact-loading-skeleton is the most used React skeleton library: a grey bar with a shimmer that you render in place of your content, sized from the text around it. 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 react-loading-skeleton for a tiny, proven shimmer that sizes itself from your typography and simply swaps to your content, including on React 16.8 to 18. Pick Dotquilt when a whole region (a card, a chart, a table) should hold its shape and hand over to the content, and pending content must be inert with focus kept. In return you take on about 10 KB or more of JavaScript and a 0.x API.
At a glance
Section titled “At a glance”Checked on 30 November 2026. Sizes are minified and gzipped, measured the same way for both with Bun, with React left out.
| react-loading-skeleton 3.5.0 | Dotquilt 0.2 (@dotquilt/react) |
|
|---|---|---|
| Downloads a week | 1,483,541 | 300 (new in November 2026) |
| GitHub stars | 4,214 | 3 |
| Latest release | 3.5.0, 21 September 2024 | 0.2, November 2026 |
| React versions | 16.8 and later | 19 |
| Other frameworks | none | Vue, Svelte, Angular and plain HTML |
| Size | about 1.2 KB (JavaScript and CSS) | 10.1 KB for SkeletonText, 13.1 KB for LoadingRegion, plus 6 KB loaded later for the handoff |
| What it draws | lines, circles, your own wrapper | lines, blocks, circles, text, charts, tables, values and typing dots |
| Sizes itself | from the surrounding font size | you size the placeholder with CSS or lines; the handoff reads your real layout |
| How loading ends | your code swaps the skeleton for the content | the marks take the content’s shape, then the content wipes in (about a second) |
| Pending content | not wrapped: you render the skeleton instead of it | inert, hidden from assistive technology and aria-busy; focus is kept |
| Reduced motion | the shimmer stops | loaders hold a still picture, and the handoff swaps at once |
| Forced colours | no rules | a dotted outline in the system text colour |
| Strict Content Security Policy | a static stylesheet you import | needs a nonce, hashes or external stylesheets (guide) |
| Server rendering | renders the same on server and client | placeholder markup and styles in the first HTML |
Where react-loading-skeleton is better
Section titled “Where react-loading-skeleton is better”- Adoption and track record. About 1.5 million downloads a week and eight years on npm. Dotquilt is a few weeks old.
- Size. About 1.2 KB against about 10 KB for one Dotquilt loader in React.
- No sizing work. A skeleton takes the height of the text around it and fills its width, so a component can show its own skeleton with no CSS.
- Strict CSP with no setup. Its styles are a file you import. Dotquilt adds its styles at runtime unless you pass a nonce or point it at external stylesheets.
- Older React. It works with React 16.8 and later;
@dotquilt/reactneeds React 19. - Simplicity. One component and an optional theme context, with nothing to manage.
Where Dotquilt differs
Section titled “Where Dotquilt differs”- It manages the loading states. A region is
pending,refreshingorready. While pending, its content is inert and hidden from assistive technology, and focus inside it moves to the region.refreshingkeeps 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.
- No flicker on fast loads.
delayskips the placeholder when data arrives quickly, andminDisplaykeeps it long enough not to flash. - Loaders for data. ChartLoader, TableLoader, TextLoader and TypingDots.
- Forced colours and a limit on motion. Idle motion stops after four seconds. See Motion and accessibility.
- Beyond React. The same loaders are native Web Components, with packages for Vue, Svelte and Angular.
Moving from react-loading-skeleton
Section titled “Moving from react-loading-skeleton”import Skeleton from 'react-loading-skeleton';import 'react-loading-skeleton/dist/skeleton.css';
{article ? <Article data={article} /> : <Skeleton count={5} />}import { LoadingRegion, SkeletonText } from '@dotquilt/react';
<LoadingRegion state={article ? 'ready' : 'pending'} aria-label="Article" placeholder={<SkeletonText lines={5} />}> {article && <Article data={article} />}</LoadingRegion><Skeleton count={n} />becomes<SkeletonText lines={n} />; a single bar is<SkeletonLine />, andcircleis<SkeletonCircle />, sized with CSS.<SkeletonTheme baseColor highlightColor>becomes the--dotquilt-colorand--dotquilt-accent-colorcustom properties. See Theming.- The condition that swapped the skeleton for your content becomes the region’s
state. See React and Next.js.
Sources
Section titled “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, behaviour from react-loading-skeleton’s published 3.5.0 package (dist/index.js and dist/skeleton.css) and its README. Dotquilt’s sizes come from bun run size in its repository. Something out of date? Open an issue.