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

<mth-inline-status>

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

Compact inline live-region status badge (Saved, Saving..., Error, Warning) with reduced-motion spinner and configurable ARIA politeness.

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-inline-status> (@methane-ui/ui)
All 121 browser E2E checks passing
Ready · interact with <mth-inline-status>, or toggle Theme, Direction (LTR/RTL), or props above.

Multi-Framework Playground & Snippets

<script type="module" src="@methane-ui/ui/inline-status"></script>
<mth-inline-status variant="neutral" live="polite">Example</mth-inline-status>

Properties & Attributes

PropertyAttributeTypeDefaultDescription
variantvariant'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'loading'"neutral"Visual tone (neutral, info, success, warning, danger, or loading).
labellabelstring""Default status message text when no slotted copy is supplied.
livelive'polite' | 'assertive' | 'off'"polite"ARIA live region mode (polite, assertive, or off).

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(loading).Conformance suite
i18nRoutes 6 UI/ARIA strings through @methane-ui/core i18n catalog.Locale context test