Open a sub-component to view its docs and settings.
Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Compact persistence feedback for idle, saving, saved, and error states. Use it beside editors and autosaving forms.
Supply the current state from your persistence layer. Error state exposes an optional retry callback; saved state can show the most recent save time.
Status updates use a polite live region. Errors use an alert and the retry action is a native button.
| Prop | Type | Default | Description |
|---|---|---|---|
state | string | saved | Configures state. |
showLastSaved | boolean | true | Configures show last saved. |