Documentation Index
Fetch the complete documentation index at: https://mintlify.com/theopenlane/openlane-ui/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Panel component provides a bordered container with configurable layout properties. It includes a PanelHeader subcomponent for structured headings and supports a destructive variant with warning icon.Components
Panel
Main container component with flexible layout options.Gap spacing between child elements
Vertical alignment of children
Horizontal justification of children
Text alignment within the panel
When true, applies destructive styling with red background and warning icon
Additional CSS classes to apply to the panel
Content to render inside the panel
PanelHeader
Header component with heading and optional subheading.Main heading content
Optional subheading content
When true, removes bottom border and padding
Additional CSS classes to apply to the header
Usage
Examples
Basic Panel
Panel with Header
Destructive Panel
Centered Panel
Custom Layout
Implementation
Source:/home/daytona/workspace/source/packages/ui/src/panel/panel.tsx