Memory settings row
The controls a buyer exposes to govern memory — retention, graph writes, vector search, per-agent isolation, and PII redaction. Each row is one toggle with a plain-English description.
Included in the single kansho full pack. Components are not offered as separate installs.
Memory governance
Memory & context
Keep approved user and organization facts permanently.
30d session
Let agents add entity and relationship edges to the memory graph.
Use semantic similarity for retrieval, not just keyword match.
Wall off each agent's private memory from the rest of the crew.
recommended
Strip emails, phone numbers, and tokens before anything is stored.
Included components
This page is the canonical destination for these components. All ship in the single Kansho pack.
Toggle
components/ui/toggle.tsxSettings row
components/surfaces/settings-row.tsxComponent documentation
Toggle
components/ui/toggle.tsxPurpose
Provides a controlled switch-style boolean control.
Appropriate use
Use for settings that take effect as an on or off state rather than a one-time action.
Example
components/ui/toggle.tsx has a representative live example in the "Memory governance" section on /components/memory-settings-row.
States
Supports checked and unchecked, sm and md sizes, disabled state, and animated thumb position.
API and props
Toggle accepts checked, onCheckedChange, size, disabled, required aria-label, className, and ref.
Dependencies
React and the Kansho cn utility.
Accessibility
Uses a native button with role switch, aria-checked, a required accessible name, and visible focus styling.
Limitations
It is controlled only; callers own state persistence and any pending or error feedback.
Source
Source: components/ui/toggle.tsx.
Full pack
components/ui/toggle.tsx is documented at /components/memory-settings-row and installs only through the single Kansho full pack; no individual component install is offered.
Settings row
components/surfaces/settings-row.tsxPurpose
Provides aligned section and row layouts for settings labels, descriptions, controls, badges, hints, and status.
Appropriate use
Use for preference pages where each setting needs a consistent relationship between explanatory copy and its control.
Example
components/surfaces/settings-row.tsx has a representative live example in the "Memory governance" section on /components/memory-settings-row.
States
Supports section title and description, optional trailing section content, row control, badge, hint, and status, plus responsive stacking.
API and props
SettingsSection accepts title, description, children, trailing, and className; SettingsRow accepts label, description, control, badge, hint, status, and className.
Dependencies
React and the Kansho cn utility.
Accessibility
Keeps labels, descriptions, hints, and status as visible text, but delegates control labelling and described-by relationships to the supplied control.
Limitations
It is a layout composition rather than a form field; callers must connect each rendered control to the appropriate label and messages.
Source
Source: components/surfaces/settings-row.tsx.
Full pack
components/surfaces/settings-row.tsx is documented at /components/memory-settings-row and installs only through the single Kansho full pack; no individual component install is offered.