Kanshō/Linked resource tray

Linked resource tray

A compact tray of everything a task is wired to — files, tools, memory, URLs, branches, tickets, terminals, browser sessions. Each chip is a monochrome glyph plus label so the row stays quiet under a busy task card.

Included in the single kansho full pack. Components are not offered as separate installs.

All resource kinds

Eight link types
Linked

Focused subset

Files and tools only
Touched in this turn

Component documentation

Linked Resource Tray

components/tasks/linked-resource-tray.tsx

Purpose

Collects files, tools, memory, URLs, branches, tickets, terminals, and browsers linked to a task.

Appropriate use

Use for a compact task-resource summary when only some resources are actionable.

Example

components/tasks/linked-resource-tray.tsx has a representative live example in the "All resource kinds" section on /components/linked-resource-tray.

States

Resource kinds are file, tool, memory, url, branch, ticket, terminal, and browser; metadata and callbacks are optional.

API and props

LinkedResourceTray accepts title, resources, and className; each LinkedResource supplies id, kind, label, optional meta, and optional onClick.

Dependencies

Direct imports are React, Lucide icons, and cn.

Accessibility

Actionable resources are native buttons; callback-less resources render as text spans rather than disabled or inert buttons.

Limitations

It does not resolve URLs, open resources, fetch metadata, or manage active selection.

Source

Source: components/tasks/linked-resource-tray.tsx.

Full pack

components/tasks/linked-resource-tray.tsx is documented at /components/linked-resource-tray and installs only through the single Kansho full pack; no individual component install is offered.