Panel
A docked, full-height surface with a fixed header, a scrolling body and a fixed footer. It is the frame that detail and inspector panels are composed on. It owns structure and surface; the caller composes each slot.
React
Figma
Import
import { Panel, PanelHeader, PanelBack, PanelTitle, PanelActions, PanelAction, PanelAlert, PanelToolbar, PanelBody, PanelFooter } from "@kela-systems/ui-components";This page has no live example yet. Storybook shows Panel in every state and theme.
Props
Panel
| Name | Default | Description |
|---|---|---|
borderedboolean | true | Draws the panel's outer border. Unbordered is a flat surface. |
It also takes the attributes of the HTML element it renders.
PanelHeader
No props of its own. It also takes the attributes of the HTML element it renders.
PanelBack
| Name | Default | Description |
|---|---|---|
loadingboolean | Shows a spinner and prevents interaction while keeping the variant's resting colors. |
It also takes the props of Base UI's button.
PanelTitle
No props of its own. It also takes the attributes of the HTML element it renders.
PanelActions
No props of its own. It also takes the attributes of the HTML element it renders.
PanelAction
| Name | Default | Description |
|---|---|---|
aria-labelRequiredstring | ||
loadingboolean | Shows a spinner and prevents interaction while keeping the variant's resting colors. |
It also takes the props of Base UI's button.
PanelAlert
No props of its own. It also takes the attributes of the HTML element it renders.
PanelToolbar
No props of its own. It also takes the attributes of the HTML element it renders.
PanelBody
| Name | Default | Description |
|---|---|---|
fadeboolean | true | Dissolves content into the surface at the top and bottom edges while there is more to scroll to. Mask-based, so it works on any background. |
It also takes the props of Base UI's scroll-area.
PanelFooter
No props of its own. It also takes the attributes of the HTML element it renders.
Related
Weigh Panel against these before you choose.