LaravelPackages.net
Acme Inc.
Toggle sidebar
vibar/laravel-nova-grid

A Laravel Nova tool that allows placing fields in a grid using ->size() helpers.

42
0
v1.0.3
About vibar/laravel-nova-grid

vibar/laravel-nova-grid is a Laravel package for a laravel nova tool that allows placing fields in a grid using ->size() helpers.. It currently has 0 GitHub stars and 42 downloads on Packagist (latest version v1.0.3). Install it with composer require vibar/laravel-nova-grid. Discover more Laravel packages by vibar or browse all Laravel packages to compare alternatives.

Last updated

Laravel Nova Grid

Requirements

  • php: >=8.0
  • laravel/nova: ^4.0

Features

  • ->size() helpers that allow placing items next to one another on the detail and form views

Installation

Install the package in to a Laravel app that uses Nova via composer:

composer require vibar/laravel-nova-grid

Usage

Use ->size() on any Field.

public function fields(NovaRequest $request)
{
    return [
        Text::make('Email')
          ->size('w-1/12')
          ->sizeHalf(), // w-1/2
          ->sizeOneThird(), // w-1/3
          ->sizeTwoThirds(), // w-2/3
    ];
}

Credits

License

Nova Input Filter is open-sourced software licensed under the MIT license.

Comments