A panel is a folding block displaying compact information and controls.
View source codeReactNodeThe content of the Panel.
stringclassName for the element.
booleanWhether the panel is coming from the side. Please use the component SidePanel instead
Default: falseReactNodeFooter of the Panel
FooterSummaryPropsFooter summary of the Panel
ReactNodeHeader of the Panel
MouseEventHandler<HTMLButtonElement>Handler that is called when the Panel is closed. If not provided, the close button will not be displayed.
ReactNodeThe title of the Panel.
stringThe translation for the cancel button.
ReactNodeThe content of the PanelSection.
ReactNodeThe content of the PanelSection when in edit mode.
MouseEventHandler<HTMLButtonElement>Handler that is called when the cancel button is clicked.
MouseEventHandler<HTMLButtonElement>Handler that is called when the form is saved.
stringThe translation for the save button.
booleanWhether the save button should be disabled.
Default: falsestringTranslation for the aria-label of the edit IconButton.
booleanWhether the PanelSection can be collapsed.
booleanWhether the PanelSection is initially collapsed.
Default: falsebooleanWhether the PanelSection is editable
booleanWhether the PanelSimpleSection should have opening and closing animation. Has no effect when prefers-reduced-motion is set
Default: false false() => voidHandler that is called when the PanelSection is collapsed
MouseEventHandler<HTMLButtonElement>Handler that is called when the edit mode is toggled.
(error: Error) => voidHandler that is called when an error occurs.
() => voidHandler that is called when the PanelSection is collapsed
(error: Error) => ReactNodeFunction to render an error in the form.
ReactNodeThe title of the PanelSection.