Back to Panel
Panel

Visual variants

Default, elevated and borderless.

Default

Border + soft shadow.

Elevated

Stronger shadow for emphasis.

Borderless

No border or shadow — blends into the page.

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