We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The React Splitter is a layout user interface (UI) that provides resizable, expandable, collapsible, and nestable panes. It is useful for constructing different layouts in web apps such as Outlook style, Windows Explorer style, code editor UI, and more. The component can integrate other JavaScript UI controls inside its split panes.


Resizable splitter panels

The React Splitter component has built-in resizable support that helps widen or shrink the panes. Users can control the resize behavior for individual panes with min and max size validation.

React splitter resizable support


React splitter collapsible support

Collapsible panes

Built-in support is available for expanding and collapsing the panes by interaction.


Multiple panes

Users can configure more than 2 panes to construct different layouts using React Splitter component such as Outlook-style, Windows explorer-style, Visual Studio code-style, and more.


Content as React UI component

Users can integrate other React UI component (For example: TreeView, ListView, Rich Text Editor), HTML markup, or plain text content in the React split panes.


Vertical or horizontal orientation

The orientation of the split panes can either be horizontal or vertical inside the React Splitter component.


React splitter with split bar

Separator (Divider)

The React Splitter component has a split bar to visually split the panes that contains resize gripper.


Nested React Splitter

Splitters can be nested in various levels within the pane to create complex layout such as code editor-style layout.


Right-to-Left (RTL)

The React Splitter component supports right-to-left (RTL) rendering. Users can change the text direction and layout of the Splitter component from right to left. It improves the user experience and accessibility for users who use RTL languages.


Themes

The React Splitter component has several built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and High Contrast. Users can customize any one of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application.

Sizing to content

Users can specify pane size either in pixels or in percentage values including min and max range values to accommodate the sizing to its child component or content.


Other supported frameworks

The Splitter component is also available in Blazor, Vue, Angular, and JavaScript frameworks. Check out the different Splitter platforms from the links below,


React Splitter Code Example

Easily get started with the React Splitter Component using a few simple lines of TSX code example as demonstrated below. Also explore our React Splitter Example that shows you how to render and configure a Splitter in React.

import { PaneDirective, PanesDirective, SplitterComponent } from '@syncfusion/ej2-react-layouts';
import * as React from "react";

class App extends React.Component {
  public render() {
return (
  <div className="App">
  <SplitterComponent id="splitter" height="250px" width="600px">
      <PanesDirective>
        <PaneDirective/>
        <PaneDirective/>
        <PaneDirective/>
      </PanesDirective>
  </SplitterComponent>
  </div>
  );
  }
}
export default App;


85+ REACT UI COMPONENTS

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon