← All Components
<mth-resizable-group>
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
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>import '@methane-ui/ui/resizable-group';
import '@methane-ui/react';
export function Example() {
return <mth-resizable-group orientation="horizontal">Example</mth-resizable-group>;
}<script setup lang="ts">
import '@methane-ui/ui/resizable-group';
</script>
<template>
<mth-resizable-group orientation="horizontal">Example</mth-resizable-group>
</template>import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import '@methane-ui/ui/resizable-group';
import { MthResizableGroupDirective } from '@methane-ui/angular';
@Component({
standalone: true,
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [MthResizableGroupDirective],
template: `<mth-resizable-group orientation="horizontal">Example</mth-resizable-group>`,
})
export class ExampleComponent {}<script lang="ts">
import '@methane-ui/ui/resizable-group';
import MthResizableGroup from '@methane-ui/svelte/MthResizableGroup.svelte';
</script>
<MthResizableGroup orientation="horizontal">Example</MthResizableGroup>Properties & Attributes
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
orientation | orientation | 'horizontal' | 'vertical' | "horizontal" | Flex direction axis (horizontal or vertical) propagated to child handles. |
disabled | disabled | boolean | false | Disables resizing on all child handles. |
Events
| Event | Detail Type | Description |
|---|---|---|
mth-layout | { sizes: number[] } | Fired after panel sizes are initialized or adjusted. |
Accessibility Checklist
| Category | Requirement | Verified By |
|---|---|---|
| aria | All aria-* IDREFs resolve within the same DOM root (ADR-003). | scanSameRootAria |
| focus | Focus ownership matches focusModel="none". | lint-plugin & spec-compiler |
| contrast | Renders legible borders, focus outlines, and selection indicators under forced-colors: active. | Playwright forced-colors matrix |
| states | Exposes ElementInternals CustomStateSet flags: :state(disabled). | Conformance suite |