@redrob-labs/ui v1.0.2 · Redrob Group Design System 2026

MemorySaved

Agent chat · src/components/MemorySaved/MemorySaved.tsx

Says something was written to memory, what it was, and how to take it back.

All three, together. A product that remembers silently is a product deciding what it knows about someone without telling them, and the note says the reach out loud: every AI will know it from now on.

role="status", so it is announced without interrupting.

Import

import { MemorySaved } from '@redrob-labs/ui';

Rendered

The design system's own preview case, run against this package's build. The parity gate compares this rendering to the reference bundle's.

Props

PropTypeNotes
label React.ReactNode
note React.ReactNode
undoLabel React.ReactNode
className string
children React.ReactNode What was remembered.
onUndo () => void Omit it and the memory cannot be undone here - so only omit it when that is true.