Skip to content
Kits

ThreadRail

Conversation minimap for scanning and jumping between chat turns.

Composition

Anatomy

  • <ThreadRail>
    • <ThreadRailItem>
      • <ThreadRailLine />
      • <ThreadRailPopover>
        • <ThreadRailTitle />
        • <ThreadRailSummary />
        • <ThreadRailFooter>
          • <ThreadRailFile>
            • <ThreadRailFileIcon />
            </ThreadRailFile>
          • <ThreadRailMore />
          </ThreadRailFooter>
        </ThreadRailPopover>
      </ThreadRailItem>
    </ThreadRail>

Installation

Use this command to install the component.

Registry command
See registry manifest

Usage

Dependencies

Raw code

Installed component source and support files

src/registry/sources/control-ui/thread-rail.tsx

Knobs

Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.

--cui-thread-rail-* · 9 knobsHow the cascade resolves
--cui-thread-rail-item-radius<length-percentage>9999px
--cui-thread-rail-item-background<color>transparent
--cui-thread-rail-line-radius<length-percentage>9999px
--cui-thread-rail-popover-radius<length-percentage>var(--radius-popover)
--cui-thread-rail-popover-background<color>var(--popover)
--cui-thread-rail-popover-border-color<color>var(--border)
--cui-thread-rail-popover-border-width<length>var(--control-rim-width)
--cui-thread-rail-popover-shadow*var(--shadow-pop)
--cui-thread-rail-popover-backdrop-blur<length>var(--backdrop-blur-popover)