Settings row / section
Composition primitives for settings pages. SettingsSection groups related controls under a single header and rule. SettingsRow lays out label, description, optional badge, hint, and a right-side control slot.
Included in the single kansho full pack. Components are not offered as separate installs.
Workspace settings
Runtime
Defaults applied to every new run in this workspace.
Where data is processed and at rest.
Hard cap on automatic retries before escalation.
Resume the run once a human approves a pending action.
Notifications
Who gets paged when things go sideways.
Email these addresses when a run finishes with an error.
Pause new runs once the daily token budget is hit.
Approaching 84% of daily cap.
Danger zone
Irreversible workspace-level actions.
Invalidates every existing key for this workspace.
Active runs may fail until clients refresh.
Permanent. Cannot be undone.
Included components
This page is the canonical destination for these components. All ship in the single Kansho pack.
Tag
components/ui/tag.tsxComponent documentation
Tag
components/ui/tag.tsxPurpose
Displays a compact categorical tag with optional removal.
Appropriate use
Use for short filters, labels, or selected values that may need an explicit remove action.
Example
components/ui/tag.tsx has a representative live example in the "Workspace settings" section on /components/settings.
States
Supports neutral, accent, success, warning, and danger tones plus removable and static states.
API and props
Tag extends native span attributes with tone, onRemove, className, and ref.
Dependencies
React, Lucide icons, class-variance-authority, and the Kansho cn utility.
Accessibility
The remove button is keyboard-operable and named Remove; visible tag text remains available to assistive technology.
Limitations
The generic remove label does not include the tag value, so callers should provide surrounding context when multiple tags are ambiguous.
Source
Source: components/ui/tag.tsx.
Full pack
components/ui/tag.tsx is documented at /components/settings and installs only through the single Kansho full pack; no individual component install is offered.