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

<mth-step>

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

Declarative step item used standalone or composed inside <mth-stepper>.

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

Multi-Framework Playground & Snippets

<script type="module" src="@methane-ui/ui/step"></script>
<mth-step status="upcoming" step-number="0">Example</mth-step>

Properties & Attributes

PropertyAttributeTypeDefaultDescription
valuevaluestring""Unique step identifier.
labellabelstring""Step title displayed in the stepper header.
descriptiondescriptionstring""Optional concise helper description.
statusstatus'upcoming' | 'current' | 'complete' | 'error'"upcoming"Visual/semantic step status (upcoming, current, complete, or error).
stepNumberstep-numbernumber01-based display number shown in the step indicator.
disableddisabledbooleanfalsePrevents activating this step.

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(complete), :state(current), :state(error), :state(disabled).Conformance suite
i18nRoutes 4 UI/ARIA strings through @methane-ui/core i18n catalog.Locale context test