A Panel wraps related content, sometimes separated by borders, within a minimally-styled container.
Panels serve as the primary surface component used for grouping related content or actions on the page. Bordered containers organize content neatly into visually distinct sections, making pages easier for users to navigate and understand.
Consider Panels as containers for the following use cases:
Panels and Cards are visually similar components used to group related information together. However, it's important to understand the difference as they are not interchangeable:
To elevate the user experience, enable borders to cleanly separate sections for easier understanding. A common use case would be separating form sections.
Profile details
Notification preferences
When no data is available or loading indicators must be shown, keep Panels intact for a consistent layout experience.
No service accounts found.
No service accounts found.
The Panel's internal grid allows the flexibility of its subcomponents to be used in any way while letting it maintain a consistent visual structure.
See the most common Panel configurations below.
These keys allow you to send data to Customer.io's API.
Key list content
The most common configuration includes a header with a title, optional description, and actions above a single content section. This layout is ideal for settings panels, detail views, and data tables.
Events sent to this destination over the selected period.
Filter controls
Chart or table content
Multiple sections group distinct content areas within a single panel. This layout is common for analytics cards with filter controls above charts or tables, and settings pages with separate form groups.
Select the events you want to send from this source.
Form content
Actions are placed within the footer below the main content. This layout is preferred for forms or multi-step flows within modals where primary actions are placed at the bottom of the container.
Standalone content that only needs a bordered container.
Panels may be built with only body content. This configuration is best used for wrapping full-width content such as tables, authentication forms, or standalone content blocks.
Borders visually divide Panel sections for a more organized look and feel. Borders are enabled either on the Panel as a whole or individually by section.
First section
Second section
Third section
Enabling section borders adds a separator between each section, making distinct content areas easier to visually scan.
First section
Second section
Third section
Without borders, section padding collapses into a single gap, creating a smooth transition between content areas.
Inset extends content edge-to-edge within the Panel by ignoring the default padding. Use it for full-width elements like tables, images, or colored backgrounds that should bleed to the Panel edges. When placed first or last, it inherits the Panel's border radius.
Full-width table or content area
Insets are best used for full-bleed content.
Section padding is set by default but can be disabled with a component prop. Disabling section padding will allow its content to sit flush against its edges, similar to an inset. This can be used to individually manage a single section's padding.
This section has default padding.
Section padding by default keeps content away from the Panel's edges.
This section has no padding.
Disabling padding lets content extend to the panel edges. Useful for tables, lists, or other elements that handle their own spacing.
Action labels should be direct about what action will take place when activated. Use the Panel title's noun to reinforce the label.
Account list
Descriptions add additional information to support the title. They're best used to explain the Panel's purpose or provide guidance.
Verified domains used for email delivery.
Domain list
Your sending domains.
Domain list
Panel titles should be short nouns or noun phrases that best describe the content. Avoid verbs or action-oriented titles. The title explains what the panel contains, not what the user should do.
Manage API keys for this workspace.
Key list
Create, edit, and delete API keys for this workspace.
Key list