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. The size changes after any layout alteration.
- import React from "react";
- import Splitter, { Item } from "devextreme-react/splitter";
- const App = () => (
- <React.Fragment>
- <Splitter ... >
- <Item ...
- size="50%"
- />
- </Splitter>
- </React.Fragment>
- );
- export default App;
If you do not specify pane sizes, the UI component splits up the panes automatically with even distribution.
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.
