Splitter Pane
A production-scale, light + dark Splitter Pane component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add splitter-paneLive preview available in the gallery.
Usage
import { SplitterPane } from "@lerpa/ui";
<SplitterPane />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| children | [React.ReactNode, React.ReactNode] | - | |
| direction | 'horizontal' | 'vertical' | — | |
| defaultRatio | number | — | |
| min | number | — | |
| max | number | — | |
| className | string | — | |
| ariaLabel | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.