Shared background
Share hover and focus feedback across related rows. The caller owns selection and actions.
Preview
Inbox
Quarterly planning notes
Installation
Install the local ghost-kit source bundle while the registry runs at localhost:3110. It contains this component and its source dependencies. Prepare the local registry first so token dependencies also resolve locally.
Usage
Use semantic rows and existing controls. Keep the selected folder and its content in the consuming application.
Structure
Examples
Surface feedback
Move one shared surface to the hovered or focused folder. Choosing a folder changes its visible content.
Inbox
Quarterly planning notes
Line feedback
Move the line to the hovered or focused folder. When feedback ends, return it to the selected folder.
Inbox
Quarterly planning notes
Selected line with shared feedback
Keep the selected folder marked by a line while a separate surface follows hover or focus. The folder content changes only when a folder is chosen.
Inbox
Quarterly planning notes
API reference
| Prop | Type | Default | Description |
|---|---|---|---|
as | "div" | "ol" | "ul" | undefined | Semantic container for the rows. Children should be <li> under ul/ol. | |
presentation | "surface" | "line" | "line-combined" | Surface follows hover and focus. Line returns to selection. Line-combined keeps selection underlined with a separate hover/focus surface. | |
surface | "card" | "secondary-hover" | Chooses the shared surface color; defaults to card. | |
orientation | "horizontal" | "vertical" | undefined | Sets orientation. | |
inset | number | undefined | Horizontal bleed of the pill past each row, in px. Defaults to 12. |