Panel

A panel is a customizable container that can contain other components in flexible content layouts.

Examples

Basic

Main content
Header content

Main content

No body

Main content

Raised

Main content

Bordered

Main content

Secondary variant

Main content

Scrollable

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Props

Panel

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the panel
classNamestringClass to add to outer div
isScrollablebooleanFlag to add scrollable styling to the panel
variant'raised' | 'bordered' | 'secondary'Adds panel variant styles

PanelMain

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the panel main div
classNamestringClass to add to outer div
maxHeightstringMax height of the panel main div as a string with the value and unit

PanelMainBody

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the panel main body div
classNamestringClass to add to outer div

PanelHeader

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the panel header
classNamestringClass to add to outer div

PanelFooter

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the panel footer
classNamestringClass to add to outer div

CSS variables

Expand or collapse columnSelectorVariableValue