AutosaveIndicator
AutosaveIndicator — Prism component.
Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggleWhen to use
AutosaveIndicator — Prism component.
Accessibility
Always render a visible <label> (the label prop wires htmlFor/id for you). Errors set aria-invalid and are announced via aria-describedby. Required fields expose aria-required.
Import
const { AutosaveIndicator } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
state | AutosaveState | — | |
savedAt | string | — | e.g. "2:14 PM" — used in the default "Saved {savedAt}" label. |
labels | Partial<Record<AutosaveState, string>> | — |