# Dotquilt and boneyard

> How Dotquilt compares with boneyard-js, the skeleton generator that captures your layout. Build step, frameworks, size, accessibility, CSP and how loading ends, with sources.

[boneyard](https://github.com/0xGF/boneyard) generates skeletons from your real pages: a command opens your running app in a headless browser, records where each element sits at a few screen widths, and saves that as data its `<Skeleton>` component draws. Dotquilt takes the other route: you place a placeholder, and when your content is ready its marks read the real layout and hand over to it, with no build step. Both are MIT-licensed.

**In short:** pick boneyard for skeletons that match many bespoke layouts without drawing them, for React Native, Preact, React 18 or Angular 14 to 21, and when running a headless browser in development or CI to keep the captures current is fine. Pick Dotquilt for no build step and nothing generated, for loading that meets accessibility and Content Security Policy requirements, and for data views (charts, tables, figures) that should hand over to the real content rather than fade.

## 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.

| | boneyard-js 1.10 | Dotquilt 0.2 |
| --- | --- | --- |
| Downloads a week | [137,131](https://api.npmjs.org/downloads/point/last-week/boneyard-js) | [352](https://api.npmjs.org/downloads/point/last-week/dotquilt) (new in November 2026) |
| GitHub stars | [7,620](https://github.com/0xGF/boneyard) | [3](https://github.com/b4rb13/dotquilt) |
| Latest release | [1.10.0, 31 August 2026](https://registry.npmjs.org/boneyard-js) | 0.2, November 2026 |
| Frameworks | React 18+, Preact, Vue 3, Svelte 5, Angular 14+, React Native, and a Vite plugin | React 19, Vue 3.5, Svelte 5, Angular 22 and plain HTML |
| Where skeletons come from | captured from your running app by `npx boneyard-js build` or the Vite plugin, saved as `.bones.json` files | the placeholder you place; the handoff reads your live layout |
| When your layout changes | capture again (incremental, or on every change with the Vite plugin) | nothing to do |
| Install | `playwright` is a dependency ([about 19 MB unpacked](https://registry.npmjs.org/playwright-core)), and capturing needs Chromium | no runtime dependencies |
| Size of the React component | about 3.5 KB, plus your captured data | 10.1 KB for SkeletonText, 13.1 KB for LoadingRegion, plus 6 KB loaded later |
| Animations | pulse, shimmer, solid, with stagger | a glow over the marks that stops after four seconds, and chart animations |
| How loading ends | the skeleton goes, or fades out (300 ms) over your content | the marks take the content's shape, then the content wipes in (about a second) |
| Pending content | hidden (`visibility: hidden`) and `aria-busy` | inert, hidden from assistive technology and `aria-busy`; focus is kept |
| Reduced motion | no rules | 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 | adds a `<style>` element for its animations, with no nonce option | a nonce, hashes or external stylesheets ([guide](/docs/guides/csp/)) |

## Where boneyard is better

- **No placeholders to draw.** Skeletons come from your real pages at several screen widths. On an app with many unique layouts, that saves real work.
- **Close to your exact layout.** Any arrangement of cards, panels and dashboards, not only text, charts and tables.
- **More frameworks and versions.** Preact and React Native, and React 18 and Angular 14 or later. Dotquilt has no Preact or React Native package, and needs React 19 or Angular 22.
- **Adoption.** About 137,000 downloads a week and 7,600 stars in eight months.
- **A smaller component.** About 3.5 KB for the React component, plus the captured data.
- **Suspense.** A `BoneSuspense` wrapper for React Suspense, and a Vite plugin that captures again as you edit.

## Where Dotquilt differs

- **No build step and nothing generated.** There is no headless browser, no capture to keep current and no data or login needed at capture time. The handoff reads your layout when the content arrives, so it can't go stale.
- **It hands over.** Instead of the skeleton fading out, its marks take the shape of the content that arrived, then the content takes over. See [the handoff](/docs/components/loading-region/#the-handoff).
- **Accessibility.** Pending content is inert as well as hidden, focus inside it moves to the region, reduced motion and forced colours are followed, and idle motion stops after four seconds. See [Motion and accessibility](/docs/guides/motion/).
- **A strict Content Security Policy.** Every loader takes a nonce, or uses external stylesheets.
- **Placeholders in the server HTML,** tested in Next.js, Nuxt, SvelteKit and Angular apps on every change. See [Server rendering](/docs/guides/server-rendering/).
- **Loaders for data.** [ChartLoader](/docs/components/chart-loader/), [TableLoader](/docs/components/table-loader/), [TextLoader](/docs/components/text-loader/) and [TypingDots](/docs/components/typing-dots/), whose marks move onto the real line, rows or value.

## Moving from boneyard

```tsx title="boneyard"
<Skeleton name="blog-card" loading={isLoading}>
  {data && <BlogCard data={data} />}
</Skeleton>
```

```tsx title="Dotquilt"
import { LoadingRegion, SkeletonBlock, SkeletonText } from '@dotquilt/react';

<LoadingRegion
  state={isLoading ? 'pending' : 'ready'}
  aria-label="Blog post"
  placeholder={
    <div className="blog-card">
      <SkeletonBlock className="blog-card-image" />
      <SkeletonText lines={3} />
    </div>
  }
>
  {data && <BlogCard data={data} />}
</LoadingRegion>
```

- Remove the `boneyard-js build` step, the generated `bones` folder and its registry import.
- Draw the placeholder from [skeletons](/docs/components/skeleton/), sized with your own CSS. It doesn't have to match exactly: the handoff reads the real layout.
- `loading` becomes the region's `state`. The same components exist for [Vue](/docs/guides/vue/), [Svelte](/docs/guides/svelte/) and [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, behaviour from boneyard-js's published 1.10.0 package (its React, Vue, Svelte and Angular files) and its README and [how it works](https://boneyard.vercel.app/how-it-works) page. 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).
