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

MemoryScope

Safeguards · src/components/MemoryScope/MemoryScope.tsx

Which memory this chat reads, including none.

Off is a real option with its own card and its own sentence - every AI starts from nothing, and nothing new is saved. A memory control without an off switch is a setting, not a choice.

The explanation is the product's actual argument: most apps keep what they learn inside one company's model, and this one keeps it separately so every AI reads the same notes. That is why switching model mid-chat costs nothing, and it is worth stating rather than leaving as a feature name.

Import

import { MemoryScope } 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
options MemoryScopeOption[]
value string
defaultValue string
label string
onTitle React.ReactNode
offTitle React.ReactNode
offText React.ReactNode
summary React.ReactNode
lede React.ReactNode | false
foot React.ReactNode
className string
onChange (value: string, option: MemoryScopeOption) => void

Exported types

MemoryScopeOption