A panel is a folding block displaying compact information and controls.
View source codeReactNode
The content of the Panel.
string
className for the element.
boolean
Whether the panel is coming from the side. Please use the component SidePanel instead
Default: falseReactNode
Footer of the Panel
FooterSummaryProps
Footer summary of the Panel
ReactNode
Header of the Panel
MouseEventHandler<HTMLButtonElement>
Handler that is called when the Panel is closed. If not provided, the close button will not be displayed.
ReactNode
The title of the Panel.
string
The translation for the cancel button.
ReactNode
The content of the PanelSection.
ReactNode
The 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.
string
The translation for the save button.
boolean
Whether the save button should be disabled.
Default: falsestring
Translation for the aria-label of the edit IconButton.
boolean
Whether the PanelSection can be collapsed.
boolean
Whether the PanelSection is initially collapsed.
Default: falseboolean
Whether the PanelSection is editable
boolean
Whether the PanelSimpleSection should have opening and closing animation. Has no effect when prefers-reduced-motion is set
Default: false false() => void
Handler that is called when the PanelSection is collapsed
MouseEventHandler<HTMLButtonElement>
Handler that is called when the edit mode is toggled.
(error: Error) => void
Handler that is called when an error occurs.
() => void
Handler that is called when the PanelSection is collapsed
(error: Error) => ReactNode
Function to render an error in the form.
ReactNode
The title of the PanelSection.