Skip to main content
If your resource contains many fields, your resource “detail” page can become crowded. For that reason, you may choose to break up groups of fields into their own “panels”:
Field Panel Example
You may accomplish this by creating a new Panel instance within the fields method of a resource. Each panel requires a name and an array of fields that belong to that panel:
app/Nova/~Resource.php

Limiting Displayed Fields

You may limit the amount of fields shown in a panel by default using the limit method:
Panels with a defined field limit will display a Show All Fields button in order to allow the user to view all of the defined fields when needed.

Collapsible Panels

You may allow field panels to be collapsible by invoking the collapsible method when defining the panel. This method utilizes JavaScript’s localStorage feature to remember the current state of the panel between requests:
You may indicate that a panel should always be collapsed by default via the collapsedByDefault method:

Tabs

The Tab panel allows you to organize resource fields and relationships within tab panels:
Tab Panel
To create a tab panel when defining your resource’s fields, provide the tab group title and array of tabs to the Tab::group method. Each individual tab may be constructed using Tab::make and receives a tab title and array of fields:
app/Nova/Event.php

Omitting Tab Group Titles

Tab group titles may be omitted by simply providing fields to the Tab::group method: