For AI agents: the complete documentation index is available at https://a3s-lab.github.io/UI/v0.4.0/en/llms.txt, the full documentation bundle is available at https://a3s-lab.github.io/UI/v0.4.0/en/llms-full.txt, and this page is available as Markdown at https://a3s-lab.github.io/UI/v0.4.0/en/components/checkpoint.md.

Checkpoint

Checkpoint records a restorable task state with enough context to explain when and why it was saved.

Live preview

Before responsive CSS changes

Saved 4 minutes ago · 18 files
Saved

Package checks passed. The workspace can return to this point without losing the task transcript.

Checkpoint 3 of 5

Usage

<article class="checkpoint" data-state="saved">
  <header><h3>Before responsive CSS changes</h3><span data-checkpoint-meta>Saved 4 minutes ago</span></header>
  <section>...</section>
  <footer><button type="button">Restore</button></footer>
</article>

Parameters

APIValuesPurpose
data-statesaving, saved, restoring, restored, expired, errorCheckpoint lifecycle
data-checkpoint-metaRecommendedTime, scope, and size

States and variants

Restoring is a consequential action when it overwrites current work. Confirm the exact scope and preserve a recovery checkpoint when possible.

Accessibility

The restore control names the checkpoint when several are visible. Saving and restore completion use one bounded status announcement.