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

<mth-status-indicator>

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

Semantic status dot and optional live label supporting presence (online, offline, busy, away) and system states (error, warning, info, neutral) with reduced-motion pulse.

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-status-indicator> (@methane-ui/ui)
All systems operational
Ready · interact with <mth-status-indicator>, or toggle Theme, Direction (LTR/RTL), or props above.

Multi-Framework Playground & Snippets

<script type="module" src="@methane-ui/ui/status-indicator"></script>
<mth-status-indicator status="online" size="sm">Example</mth-status-indicator>

Properties & Attributes

PropertyAttributeTypeDefaultDescription
statusstatus'online' | 'offline' | 'busy' | 'away' | 'error' | 'warning' | 'info' | 'neutral'"neutral"Semantic presence or health state.
pulsepulsebooleanfalseEnables a subtle ping animation when motion is allowed.
labellabelstring""Optional visible status text.
sizesize'sm' | 'md' | 'lg'"md"Dot diameter size (sm, md, or lg).

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
statesExposes ElementInternals CustomStateSet flags: :state(pulse).Conformance suite
i18nRoutes 8 UI/ARIA strings through @methane-ui/core i18n catalog.Locale context test