# Group

in this section, we explain how to use Group class to create a group in panel.

# Use Group Class From:

use T0team\LaravelPanel\Controllers\Form\Group;

# Start Using Group Class

$group = Group::make('group name');

# Group Methods

# Add Input

$group->input(Input::make('input name')->...);
#or
$group->inputs($inputs);

# Set Col

You can set col up to 12.

$group->col(6);

# Set Mobile Col

You can set mobile col up to 12.

$group->colMobile(6);

# Set Tablet Col

You can set tablet col up to 12.

$group->colTablet(6);

# Set Laptop Col

You can set laptop col up to 12.

$group->colLaptop(6);

# Set Desktop Col

You can set desktop col up to 12.

$group->colDesktop(6);