الصفحات · Laravilt
Section
Group components under a heading with description, icon, columns and collapse.
Groups related components under a heading.
Basic usage
php
Collapsible
php
Columns
php
API reference
| Method | Description |
|---|---|
make(?string) | Create. The name is used as the heading |
heading(string|Closure) | Set the heading |
description(string|Closure) | Text under the heading |
icon(string|Closure) | Lucide icon |
columns(int|array) | Column layout |
collapsible(bool) / collapsed(bool) | Collapse behaviour |
schema(array) | Child components |