React Component Kit
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.
leadingAction / actionsPanelIconAction / PanelIconAction[]Header icon buttons with optional tooltips.
leadingContent / trailingContentReact.ReactNodeFree-form header slots.
leadingMetadata / trailingMetadataPanelMetadata[]Badge, icon, and text metadata.
leftIcon / rightIcons / leftContent / rightContent / leftDetails / rightDetailsdeprecated aliasesBackward-compatible aliases for the semantic header props.
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