Memory Vault
ProNewToggle remembered facts in and out of an assistant’s working memory.
Installation
pnpm dlx shadcn@latest add @viewport/memory-vault
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| memories* | Memory[]Facts with their provenance and initial enabled state. | — |
| onToggle | (id: string, enabled: boolean) => voidReceives the memory ID and its new enabled state. | — |
Accessibility
- Every memory is a native switch with a text label and checked state.