slash-editor
Components

Comment Panel

Sidebar comment threads anchored to a selection, backed by a host-provided CommentThreadStore.

Installation

bunx --bun shadcn@latest add @slash-editor/comment-panel

Usage

useComments owns document anchors; you own thread bodies through a CommentThreadStore — this demo uses an in-memory mock, but the interface is small enough to back with any store.

On this page