Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Memory Vault

ProNew

Toggle 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

PropTypeDefault
memories*Memory[]

Facts with their provenance and initial enabled state.

—
onToggle(id: string, enabled: boolean) => void

Receives the memory ID and its new enabled state.

—

Accessibility

  • Every memory is a native switch with a text label and checked state.