Methane@methane-ui/*
CSS LayoutsComponentsSkillsTheme BuilderGitHub
← All Components

<mth-collab-cursors>

@methane-ui/chat~6.8 KB brotli (kit + Lit)~1.4 KB marginal

Multiplayer live cursor and selection overlay using CSP-safe adopted CSSStyleSheet rules with strict numeric and label sanitization.

When NOT to use: Use a lightweight @methane-ui/css layout class instead of a custom element when static CSS suffices.

Live Interactive Preview

Interactive StageLive Custom Element · <mth-collab-cursors> (@methane-ui/chat)

Q4 Architecture RFC

All five domain kits share logical CSS tokens, form-associated controls, and declarative shadow hydration.

Ready · interact with <mth-collab-cursors>, or toggle Theme, Direction (LTR/RTL), or props above.

Multi-Framework Playground & Snippets

<script type="module" src="@methane-ui/chat/collab-cursors"></script>
<mth-collab-cursors></mth-collab-cursors>

Properties & Attributes

PropertyAttributeTypeDefaultDescription
cursors—ReadonlyArray<unknown>—Array of collaborator cursor positions, sanitized names, and optional selection boxes.
labellabelstring""Accessible region label for the cursor overlay.

Accessibility Checklist

CategoryRequirementVerified By
ariaAll aria-* IDREFs resolve within the same DOM root (ADR-003).scanSameRootAria
focusFocus ownership matches focusModel="none".lint-plugin & spec-compiler
contrastRenders legible borders, focus outlines, and selection indicators under forced-colors: active.Playwright forced-colors matrix
i18nRoutes 2 UI/ARIA strings through @methane-ui/core i18n catalog.Locale context test