Skip to main content
Elastic UI
Elastic UI
ComponentsPatternsContentData visualization
EUI ChangelogGitHubFigma
  • Guidelines
    • Getting started
    • Accessibility
    • Writing
    • Testing
  • Theming
    • Theme provider
    • Color mode
    • High contrast mode
    • Borders
    • Breakpoints
    • Colors
    • Sizing
    • Typography
  • Templates
    • Page template
    • Sitewide search
  • Layout
    • Accordion
    • Bottom bar
    • Flex
    • Flyout
    • Header
    • Horizontal rule
    • Modal
    • Page components
    • Page header
    • Panel
      • Guidelines
      • Split panels
    • Popover
    • Resizable container
    • Spacer
  • Navigation
    • Breadcrumbs
    • Buttons
    • Collapsible nav
    • Context menu
    • Facet
    • Key pad menu
    • Link
    • Pagination
    • Side nav
    • Steps
    • Tabs
    • Tree view
  • Display
    • Aspect ratio
    • Avatar
    • Badge
    • Callout
    • Card
    • Comment list
    • Description list
    • Drag and drop
    • Empty prompt
    • Health
    • Icons
    • Image
    • List group
    • Loading
    • Progress
    • Skeleton
    • Stat
    • Text
    • Timeline
    • Title
    • Toast
    • Tooltip
    • Tour
  • Forms
    • Form controls
    • Form layouts
    • Form validation
    • Text controls
    • Numeric controls
    • Selection controls
    • Search and filter controls
    • Date and time controls
    • Other controls
  • Tabular content
    • Tables
    • Data grid
  • Editors & Syntax
    • Code
    • Markdown
  • Utilities
    • Accessibility
    • Auto sizer
    • Beacon
    • Color palettes
    • Copy
    • CSS utility classes
    • Delay
    • Error boundary
    • Focus trap
    • Highlight and mark
    • HTML ID generator
    • I18n
    • Inner text
    • Mutation observer
    • Outside click detector
    • Overlay mask
    • Portal
    • Pretty duration
    • Provider
    • Resize observer
    • Scroll
    • Text diff
    • Text truncation
    • Window events
  • EUI
  • Layout
  • Panel
  • Split panels

Split panels

EuiSplitPanel is a composition of an outer and multiple inner

EuiPanels. It is a namespaced component that you consume using EuiSplitPanel.Outer and EuiSplitPanel.Inner respectively. You can supply the same panel props to both components with the exception of a few to ensure the visual layout is correct. It also has two directions, column (default) and row.

For custom responsiveness, you can adjust at which breakpoints a row layout will stack by passing a new array of breakpoint names ['xs', 's'] to the responsive prop, or completely turn it off with false.

Loading...

Props

EuiSplitPanel.Outer

Extends HTMLAttributes
𐘂𐘂
✄𐘗✄𐘗
Prop
↦
Description and type
↦
Default value
↵
Prop
className#
↦
Description and type
Type: string
↦
Default value
↵
Prop
aria-label#
↦
Description and type

Defines a string value that labels the current element.
@see aria-labelledby.

Type: string
↦
Default value
↵
Prop
children#
↦
Description and type

Any number of _EuiSplitPanelInner components

Type: ReactNode
↦
Default value
↵
Prop
direction#
↦
Description and type

Changes the flex-direction

Type: "column" | "row"
↦
Default value
column
↵
Prop
responsive#
↦
Description and type

Stacks row display on small screens.
Remove completely with false or provide your own list of breakpoint sizes to stack on.

Type: false | string[]
↦
Default value
['xs', 's']
↵
Prop
css#
↦
Description and type
Type: Interpolation<Theme>
↦
Default value
↵
Prop
data-test-subj#
↦
Description and type
Type: string
↦
Default value
↵
Prop
hasBorder#
↦
Description and type

Adds a slight 1px border on all edges.
Only works when color="plain | transparent"

Type: boolean
↦
Default value
↵
Prop
hasShadow#
↦
Description and type

Adds a medium shadow to the panel;
Only works when color="plain"

Type: boolean
↦
Default value
↵
Prop
borderRadius#
↦
Description and type

Corner border radius

Type: "m" | "none"
↦
Default value
↵
Prop
grow#
↦
Description and type

When true the panel will grow in height to match EuiFlexItem

Type: boolean
↦
Default value
↵
Prop
panelRef#
↦
Description and type
Type: Ref<HTMLDivElement>
↦
Default value
↵
𐘂𐘂

EuiSplitPanel.Inner

Extends HTMLAttributes
𐘂𐘂
✄𐘗✄𐘗
Prop
↦
Description and type
↦
Default value
↵
Prop
className#
↦
Description and type
Type: string
↦
Default value
↵
Prop
aria-label#
↦
Description and type

Defines a string value that labels the current element.
@see aria-labelledby.

Type: string
↦
Default value
↵
Prop
css#
↦
Description and type
Type: Interpolation<Theme>
↦
Default value
↵
Prop
data-test-subj#
↦
Description and type
Type: string
↦
Default value
↵
Prop
paddingSize#
↦
Description and type

Padding for all four sides

Type: "xs" | "s" | "m" | "l" | "xl" | "none"
↦
Default value
↵
Prop
grow#
↦
Description and type

When true the panel will grow in height to match EuiFlexItem

Type: boolean
↦
Default value
↵
Prop
panelRef#
↦
Description and type
Type: Ref<HTMLDivElement>
↦
Default value
↵
𐘂𐘂
Edit this page

Previous
Guidelines
Next
Popover
  • Props
EUI is dual-licensed under Elastic License 2.0 and Server Side Public License, v 1 | Crafted with ❤ by Elastic