crucıble

Waypoint

Live agent plan checklist — status markers on a vertical rail where one continuous accent line grows like mercury to the active step, which pings softly. Done steps draw a check and dim, skipped go dashed, failed turn rust; when the plan is revised, inserted steps expand in and dropped ones collapse out. Rolling counter, progress bar, ordered-list semantics with aria-current and polite announcements.

motionpro

Installation

CLI

npx shadcn@latest add @crucible/waypoint

Manual — install dependencies, then copy the source

npm install motion

Props

PropTypeDefaultDescription
titlestring"Plan"Plan heading.
stepsWaypointStep[]a static sample planThe plan's current state (controlled). Drive it from your agent's events; change the array (insert/remove ids) to animate a re-plan.
collapsedDonebooleantrueHide details and sub-steps of completed steps.
accentColorstring"#a78bfa" (ion violet)Accent for the rail fill, active marker, and progress bar.
showHeaderbooleantrueShow the header (title, rolling counter, progress bar).
Also accepts all props of Omit<React.ComponentPropsWithoutRef<"div">, "title"> — they pass through to the underlying element.

Honors prefers-reduced-motion with a designed static fallback, and passes className through.