Skip to content
Back

Done shockwavePro

When a long task finishes, two rings leave its status mark and roll across the panel, the mark becomes a check and a line says how long it took; a failure sends one short red pulse, and reduced motion swaps the rings for a still halo.

oxyn add done-shockwave
Deploy quillworks-webBuild, upload 214 files, warm cache
0%
  1. Building
  2. Uploading 214 files
  3. Warming the cache

Building…

The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • Mark the end of a long task with one unmistakable moment, so someone who looked away notices it finished.

When not to use

  • Fourteen text-glyph loaders (braille, sand, blocks, scanner…) that settle into a check, a warning or a cross when the agent finishes, waits or fails: use Glyph loader instead.
  • A dot and a label for any of the 13 agent states, as a pill, inline or a dot alone: use Status indicator instead.
  • A small turning arc for work that runs right now, plus dots, ray and orbit styles: use Spinner instead.

Installation

Done shockwave is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add done-shockwave

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Done

A deploy that lands with two rings.

Deploy quillworks-webBuild, upload 214 files, warm cache
0%
  1. Building
  2. Uploading 214 files
  3. Warming the cache

Building…

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Soft

Faint rings for a busy page (Oxyn extra).

Deploy quillworks-webBuild, upload 214 files, warm cache
0%
  1. Building
  2. Uploading 214 files
  3. Warming the cache

Building…

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Fails

Fails with one short red pulse and Retry.

Deploy quillworks-webBuild, upload 214 files, warm cache
0%
  1. Building
  2. Uploading 214 files
  3. Warming the cache

Building…

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Still

Reduced motion: a still halo.

Deploy quillworks-webBuild, upload 214 files, warm cache
0%
  1. Building
  2. Uploading 214 files
  3. Warming the cache

Building…

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

DoneShockwave

PropTypeDefaultDescription
nowrequiredClockMs—Host clock.
failboolDefault::default()The task fails.
strengthf641.0Ring strength 0..1.
speedf641.0Speed factor for the task.
autoplaybooltrueStart on its own.
reducedboolDefault::default()A still halo instead of moving rings.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
EnterorSpaceDeploy, or retry after a failure
EscapeReset

Accessibility

  • Rings are decorative; the status line says what happened and the failure is an alert.
  • Steps list their state in text.
From the spec

Rings are decorative; the status line says what happened and a failure is an alert; steps list their state in text. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.

Motion & interaction

Two rings leave the status mark 160 ms apart and roll across the card with a glow, fading as they grow; the mark pops into a check. A failure sends one short ring a quarter of the distance.

Timing

Everything on screen is derived from the host clock now (no timers in the component), so playback, tests and the GPUI view agree.

TransitionDurationEasing
Task3600 ms at 1×linear
Ring900 ms (WAVE_MS)ease-out cubic
Echo delay160 ms (ECHO_MS)—

Reduced motion: CSS motion is cut to a frame; decorative bands and rings are hidden or still; state and text changes stay.

Responsive behaviour

  • Rings are clipped to the card; the card wraps its buttons under the title.
Edge cases (spec)

Rings are clipped to the card; buttons wrap under the title. Strength scales the ring opacity. Checked at 1440, 768 and 390 px in light and dark with no text overlap. Chrome is monochrome grey; colour is semantic only (success, warning, danger, info) plus the official coloured brand marks.

Notes for AI

  • Import DoneShockwave from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: XPostView in oxyn_gpui.
  • Props to set first: now.
  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI