Skip to content
All changes saved

Save State Pill

Spring-morphing toolbar status indicator with offline queuing, error recovery, and relative timestamps.

Dependencies

motion/reactlucide-react

Interaction

The status surface expands between six sync states with a layout spring. Saved feedback transitions to a relative timestamp after 2.5 seconds, while browser connectivity can override the supplied state.

Props

PropTypeDescription
stateSaveStateDocument and synchronization state to display.
lastSavedAtDate | string | nullTimestamp used to calculate the relative saved label.
onRetry() => voidCalled when the Retry action is activated.
onReviewConflict() => voidCalled when the Review action is activated.
classNamestringAdditional classes applied to the status pill.
interactiveDemobooleanShows six state controls and lets the preview change its own state.

MIT License. Free to use in personal and commercial projects. Built for Peel UI.