Skip to content

Loading states that hand over.

Skeleton loaders that hold the shape of your content, then become it.

Nine native web components, with packages for React, Vue, Svelte and Angular. Free and MIT licensed.

Revenue

Revenue
$45,980
+8.2%vs. prior 30 days
Invoices paid
88
+11vs. prior 30 days
Refund rate
0.8%
−0.1 ptsvs. prior 30 days

Revenue by day

USD, example data

Couldn’t load revenue. Check the connection and try again.

Largest invoices

Top 4 of 104
InvoiceCustomerProjectAmountStatus
INV-2071João PereiraAnnual report$4,120.00
INV-2084Clara MendesTrade show stand$3,400.00Overdue
INV-2093Marta LopesSpring catalogue$2,480.00
INV-2077Tomás SilvaWebsite audit$2,115.50Sent

Invoices will show here once the connection is back.

Example dataShowing the last 30 days.

Network

Replies arrive where they will be read.

Three calm dots hold the reply’s place in its bubble, then unroll into its lines when it arrives. Hold to keep Inês typing, and let go to deliver her answer; or write to her in the inbox.

Press and hold to send a reply and keep Inês typing. Let go to deliver her answer.

dotquilt-region · dotquilt-typing-dots · dotquilt-skeleton-text

Support

Example data
  • ICInês CostaThank you. I’ll pay it this week.
  • RARui AlmeidaCan we move the review to Friday?
  • MLMarta LopesThe final files look great.
IC

Hi! The invoice for the second phase says October 29. Could it be due on November 5 instead?

Of course. I’ve moved the due date to November 5.

IC

Thank you. I’ll pay it this week.

Inês Costa is online.

Tables settle row by row.

A new filter is a new set of rows, so the table returns to its placeholder, shaped like the rows on their way, and each cell’s marks gather into its text. The column heads stay put. Turning a page keeps the rows readable while the next ones load.

Show

Press and hold to keep the invoices loading. Let go to deliver them.

dotquilt-region · dotquilt-table-loader

Invoices

Example data
InvoiceCustomerProjectIssuedAmountStatus
INV-2093Marta LopesSpring catalogueNov 19$2,480.00
INV-2092Sofia MartinsNewsletterNov 19$780.00Open
INV-2091Ana RibeiroLogo refreshNov 18$1,240.00Open
INV-2089Inês CostaPhase two layoutsNov 16$960.00
INV-2087Duarte FariaLabel designNov 13$1,615.00Overdue
Example data. Showing 1–5 of 14.

Refreshing never moves the page.

While an update loads, one row of marks rests just above the feed and the glow passes along it once. Nothing below it moves or hides, so the feed stays readable the whole time. Hold to keep it refreshing, and let go to bring the new items in.

Press and hold to keep the feed refreshing. Let go to bring in the new items.

dotquilt-region state="refreshing"

Activity

Example data
  • ARAna Ribeiro paid INV-2091
  • CMClara Mendes viewed INV-2084
  • MLINV-2093 was sent to Marta Lopes
  • TSTomás Silva commented on “Phase two”
Example data. Up to date.

One quiet language for every wait.

A number, a chart, a table and a reply all take their own time. Each loader holds the shape of what it stands for. Press and hold a tile to keep it waiting, then let go to deliver its data.

Press and hold, or hold Space or Enter, to keep this example loading. Let go to deliver its data.

ChartLoader

Marks that glide onto your real line, then the line draws in. Hold it and watch the field become the chart.

$48,210

TextLoader

Numbers and short labels that take shape in marks.

AL
Ada Lovelace
Analytical engines

Skeleton

Images, text, avatars and paragraphs.

Northwind$4,200Paid
Acme Labs$1,870Sent
Globex$9,640Due

TableLoader

Rows that settle in one after another.

Your invoice is on its way.

TypingDots

A reply that is being written.

  • Northwind paid $4,200
  • Globex invoice is overdue
  • Initech paid $3,115

LoadingRegion

Switches to your content, or keeps it usable while it refreshes.

Example data.

The marks become your content.

When your data lands, the marks don't vanish. They travel to its real shape: each line grows or shrinks to the length of your text, and the circle becomes the avatar. Then your content wipes in as they leave.

Slow it down, then hold and let go to follow each part.

Press and hold to keep the message loading. Let go to watch it hand over.

IC

Inês Costa 10:42

The new layouts are approved. I've attached the final files and the invoice for the second phase.

Quiet by default. Yours in a few lines.

The marks start in a slate that sits beside any text, with a soft glow drifting through. Change the shape, the colour, the size or the pace, and take the CSS with you.

Mark
Colour
TS
Tomás SilvaStudio lead

Twelve weeks of steady growth. The autumn launch carried the last month, and refunds stayed low.

Shall I send the report?

Press and hold to keep the preview loading in your look. Let go to watch it hand over.

Your CSS

The details are already handled.

Each claim below comes with its proof. Press and hold the first three; the rest are the lines of code they take.

  • Calm by design.

    The glow drifts for four seconds, then rests. A handoff takes about a second on long eased curves, and never snaps at the end. Hold past four seconds to see it rest.

    The quarterly report is ready to review.

    Press and hold to keep the note loading. Its glow drifts for four seconds, then rests. Let go to deliver it.

  • Loading content is out of reach.

    While a region loads, its content is inert and hidden from screen readers. Hold it loading: the button inside drops out of reach, so a click does nothing and Tab skips it.

    INV-2091 · $1,240.00
    Ready: the button takes focus.

    Press and hold to keep the invoice loading. Let go to deliver it.

  • Reduced motion is respected.

    With reduced motion set, or a pause on the page, the marks hold still and the content swaps in at once. Pause it here, then hold and let go.

    $48,210

    Press and hold to keep the figure loading. Let go to deliver it.

  • Rendered on the server.

    Placeholders are in the first HTML, at the size of your content, so nothing jumps when JavaScript arrives.

    import { renderStatic } from 'dotquilt/server';
    
    renderStatic({
      kind: 'region',
      state: 'pending',
      label: 'Revenue',
      placeholder: { kind: 'skeleton-text', lines: 2 },
    });
  • Strict CSP.

    No inline style attributes. Allow the stylesheets with a nonce, with hashes, or serve them as files.

    // Inline, with your nonce:
    stylePolicy: { mode: 'inline', nonce }
    // Or as a file:
    stylePolicy: { mode: 'external', href: '/dotquilt.css' }
  • Only what you use.

    Each component has its own entry point, so a page ships just the loaders it shows. React, Vue, Svelte, Angular and plain HTML all work.

    import { registerChartLoader } from 'dotquilt/chart';
    import { registerLoadingRegion } from 'dotquilt/region';
    
    registerChartLoader();
    registerLoadingRegion();

A calmer page in three steps.

  1. Install the package for React, Vue, Svelte or Angular, or the core package on its own.
  2. Wrap your content in a loading region, with a placeholder in its shape.
  3. Set the state when your data arrives. The region does the rest, the way it did each time you let go above.
Read the installation guide

Or let your coding assistant do it. One prompt reads your project, asks a few questions, then adds Dotquilt one place at a time and checks its work.

What it does
Summary.tsx
import { LoadingRegion, SkeletonText } from '@dotquilt/react';
export function Summary({ data }: { data: Revenue | null }) {
return (
<LoadingRegion
aria-label="Revenue"
state={data ? 'ready' : 'pending'}
placeholder={<SkeletonText lines={3} />}
>
{data && <RevenueCard data={data} />}
</LoadingRegion>
);
}

Give every wait its own shape.

Start with a skeleton. Add the rest when your screens need them.