Back to Panel
Panel

Actions

Header and footer action buttons.

API keys

Manage keys used to authenticate API requests.

API

PropTypeDefaultDescription
title / descriptionReact.ReactNodeHeader title and supporting text.
leftIcon / rightIconsPanelIconAction / PanelIconAction[]Header icon buttons with optional tooltips.
leftContent / rightContentReact.ReactNodeFree-form header slots.
leftDetails / rightDetailsPanelDetail[]Badge, icon, and text metadata.
footerReact.ReactNodeFooter action row.
variant"default" | "elevated" | "borderless"defaultBorder/shadow treatment.
collapsiblebooleanfalseMakes the header a toggle and animates the content.
open / defaultOpenbooleantrueControlled / uncontrolled open state.
onOpenChange(open: boolean) => voidFires when the panel is toggled.
noPaddingbooleanfalseRemoves default body padding.
disabledbooleanfalseDisables header interactions.
View full API on Panel

More Panel examples