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

Ready

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

NameDefaultDescription
bordered
boolean
trueDraws 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

NameDefaultDescription
loading
boolean
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

NameDefaultDescription
aria-labelRequired
string
loading
boolean
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

NameDefaultDescription
fade
boolean
trueDissolves 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.

Weigh Panel against these before you choose.

Read this page as Markdown

Search ARK

Find a page, a primitive or a component.