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

MemorySaved

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

@deprecated Use ThreadNote with kind="memory". Kept for 1.x.

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

No rendering: the delivery ships no preview case for this one

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.