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

<mth-breadcrumb-item>

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

Navigation trail entry for <mth-breadcrumbs> with safe link handling and aria-current="page".

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

Multi-Framework Playground & Snippets

<script type="module" src="@methane-ui/ui/breadcrumb-item"></script>
<mth-breadcrumb-item separator="/">Example</mth-breadcrumb-item>

Properties & Attributes

PropertyAttributeTypeDefaultDescription
hrefhrefstring""Optional safe destination URL.
targettargetstring""Link target context when href is provided.
relrelstring""Relationship attribute (auto-adds noopener noreferrer when target="_blank").
currentcurrentbooleanfalseMarks this item as the active page with aria-current="page".
separatorseparatorstring"/"Separator text injected between breadcrumb items (inherited from <mth-breadcrumbs> if unset).

Accessibility Checklist

CategoryRequirementVerified By
ariaAll aria-* IDREFs resolve within the same DOM root (ADR-003).scanSameRootAria
focusFocus ownership matches focusModel="none" with host role="listitem".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(current).Conformance suite