Lambda UI
v1.3.4
Stable

Splitter

Splitter component allows you to resize two panels.

Playground

Experiment with all the properties of the Splitter component in real time.

Properties
min

Minimum size of the first panel (px or %).

max

Maximum size of the first panel (px or %).

initial

Initial size of the first panel (px or %).

direction

Direction of the splitter.

Panel 1
Panel 2

Usage

import { Splitter } from "lambda-ui-components";

export default function App() {
	return (
		<Splitter >
			<div style={{ backgroundColor: "#f0f0f0" }}>Panel 1</div>
			<div style={{ backgroundColor: "#e0e0e0" }}>Panel 2</div>
		</Splitter>
	);
}

API Reference

Props

Prop
Default
Type
direction
"horizontal"
"horizontal" | "vertical"
min
100
number | string
max
600
number | string
initial
200
number | string
children
undefined
ReactNode[] | ReactNode
The modern React component library.
© 2026 Lambda UI. Made with in Mexico by AletzMan.