Skip to main content

Introduction

Sections group components together with a heading and optional description:
string | Htmlable | Closure
The section heading.
string | Htmlable | Closure
The description text below the heading.

Sections without headers

Create a simple card wrapper without a heading:

Adding an icon

Add an icon to the section header:
string | BackedEnum | Htmlable | Closure
The icon to display in the header.

Aside layout

Position the heading and description to the left with content on the right:
bool | Closure
default:"true"
Whether to use the aside layout.

Collapsible sections

Make sections collapsible to hide content:
bool | Closure
default:"true"
Whether the section is collapsible.

Collapsed by default

Start with the section collapsed:
bool | Closure
default:"true"
Whether the section starts collapsed.

Persisting collapsed state

Save the collapsed state in local storage:
bool | Closure
default:"true"
Whether to persist the collapsed state.
string | Closure
A unique ID for the section (required for persistence).

Compact styling

Use compact styling for nested sections:
bool | Closure
default:"true"
Whether to use compact styling.

Secondary styling

Use a less contrasting background for nested sections:
bool | Closure
default:"true"
Whether to use secondary styling.

Header actions

Add actions to the section header:
array | Schema | Component | Action | Closure
Components to display after the header.
Add actions to the section footer:
array | Schema | Component | Action | Closure
Components to display in the footer.

Grid columns

Create a grid within the section:
int | array | Closure
The number of columns or responsive column configuration.