freis/nova-grid-layout

Tool responsible for allowing changing the sizes of fields. Inpired by codenco-dev/nova-grid-system

dev-master 2022-11-18 17:26 UTC

This package is auto-updated.

Last update: 2025-06-18 22:39:16 UTC


README

Tool responsible for allowing changing the sizes of fields. Inpired by codenco-dev/nova-grid-system

Author

Requirements

  • PHP 8.0+

  • Laravel Nova 4+

Install

Install with composer

  composer require freis/nova-grid-layout

Usage

In NovaServiceProvider.php, method tools(), add:

new Freis\NovaGridLayout\NovaGridLayout

In resource:

  Text::make('Email')
    ->stacked() // prefer stacked
    ->size('w-1/2') // inform the tailwind width class
    ->sortable()

Licença

MIT