collapsed
Specifies whether an item (pane) is initially collapsed.
collapsedSize
Specifies the size of a collapsible item (pane) when collapsed in pixels or as a percentage.
- import React from "react";
- import Splitter, { Item } from "devextreme-react/splitter";
- const App = () => (
- <React.Fragment>
- <Splitter ... >
- <Item ...
- collapsedSize="20px"
- />
- </Splitter>
- </React.Fragment>
- );
- export default App;
collapsible
Specifies whether an item (pane) is collapsible.

To collapse a pane, you can also double-click the separator bar.
component
An alias for the template property specified in React. Accepts a custom component. Refer to Using a Custom Component for more information.
maxSize
Specifies the maximum size of an item (pane) in pixels or as a percentage.
- import React from "react";
- import Splitter, { Item } from "devextreme-react/splitter";
- const App = () => (
- <React.Fragment>
- <Splitter ... >
- <Item ...
- maxSize="500px"
- />
- </Splitter>
- </React.Fragment>
- );
- export default App;
minSize
Specifies the minimum size of an item (pane) in pixels or as a percentage.
- import React from "react";
- import Splitter, { Item } from "devextreme-react/splitter";
- const App = () => (
- <React.Fragment>
- <Splitter ... >
- <Item ...
- minSize="30%"
- />
- </Splitter>
- </React.Fragment>
- );
- export default App;
render
An alias for the template property specified in React. Accepts a rendering function. Refer to Using a Rendering Function for more information.
size
Specifies the initial size of an item (pane) in pixels or as a percentage of the component's total size. The Splitter initializes panes with equal sizes when this property is undefined (default).
Splitter preserves configured pane sizes across UI layout changes. If you update the component layout programmatically (modify an item's size property using option()), Splitter recalculates the sizes of all panes. This may shift the entire component layout. To prevent unintended changes to other panes, define size for every pane and reassign all pane sizes when you update the layout.
- import React from "react";
- import { Splitter, Item } from "devextreme-react/splitter";
- export default function App() {
- return (
- <Splitter>
- <Item
- size="50%"
- />
- </Splitter>
- );
- }
splitter
Specifies a splitter inside an item (pane).
Use this property to make the item a nested Splitter UI component.

- import React from "react";
- import Splitter, { Item } from "devextreme-react/splitter";
- const App = () => (
- <React.Fragment>
- <Splitter orientation="vertical">
- <Item text="Top Panel" />
- <Item>
- <Splitter>
- <Item text="Nested Left Panel" />
- <Item text="Nested Central Panel" />
- <Item text="Nested Right Panel" />
- </Splitter>
- </Item>
- </Splitter>
- </React.Fragment>
- );
- export default App;
template
Specifies a template that should be used to render this item only.
For more information about templates, refer to the following help topic: DevExtreme React - Custom Templates.
- import React from 'react';
- import Splitter, {
- Item
- } from 'devextreme-react/splitter';
- const renderCustomItem = () => {
- return <div>Custom Item</div>;
- }
- const App() = () => {
- return (
- <Splitter ... >
- <Item ...
- render={renderCustomItem}
- >
- </Item>
- </Splitter>
- );
- }
- export default App;
See Also
text
Specifies text displayed for the UI component item.
If you use both this property and a template, the template overrides the text.
