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

<mth-resizable-group>

@methane-ui/ui~7.9 KB brotli (cold + Lit)~2.0 KB marginal

Multi-panel layout coordinator synchronizing adjacent <mth-resizable-panel> sizes from <mth-resizable-handle> deltas.

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-resizable-group> (@methane-ui/ui)
Explorer Sidebar (42%)
Component Canvas (58%)
Ready · interact with <mth-resizable-group>, or toggle Theme, Direction (LTR/RTL), or props above.

Multi-Framework Playground & Snippets

<script type="module" src="@methane-ui/ui/resizable-group"></script>
<mth-resizable-group orientation="horizontal">Example</mth-resizable-group>

Properties & Attributes

PropertyAttributeTypeDefaultDescription
orientationorientation'horizontal' | 'vertical'"horizontal"Flex direction axis (horizontal or vertical) propagated to child handles.
disableddisabledbooleanfalseDisables resizing on all child handles.

Events

EventDetail TypeDescription
mth-layout{ sizes: number[] }Fired after panel sizes are initialized or adjusted.

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(disabled).Conformance suite