Actions
Pure CSS
Parametric loader
A path drawn from parametric equations — a rose, a spirograph or a Lissajous — with a glowing head and a trail running along it.
Real scenarios
The component as it is used in a product — not a specimen grid.
An assistant, thinking
While the model streams, the card is not dead: a rose, a spirograph and a Lissajous take turns drawing themselves with a glowing head.
Drafting your answer…
Usually under 3 seconds.
Thinking
Thinking
Thinking
A sync row, one curve each
Custom options shape the path — a seven-petal rose, a tight spiro, a 5×4 Lissajous — and duration slows a lap down.
Syncing calendars
Syncing files
Syncing mail
Almost there
Why a drawn path
- The faint stroke is the whole route; the bright head and its fading trail only travel it — you can see progress, not just activity.
- role="status" with the hidden label ships by default; under reduced motion the trail still glides on transforms only.
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| kind | string | 'rose' | rose · spiro · lissajous. |
| options | array | [] | rose takes n and d, spiro R, r and offset, lissajous a, b and phase; samples and padding are shared. |
| duration | int | null | One full lap in milliseconds — 4200 for a calmer loop. |
| size | string | 'md' | Sizes: sm · md · lg. |
| label | string | null | The hidden text behind the status role. |
Snippet
<x-nx::parametric-loader kind="lissajous" size="lg" :options="['a' => 5, 'b' => 4]" label="در حال فکر کردن" />