Skip to content

A configurable version of the Help card that comes with Nova.

License

Notifications You must be signed in to change notification settings

dcasia/nova-welcome-card

Repository files navigation

Nova Welcome Card

Latest Version on Packagist Total Downloads License

Nova Welcome Card in Action

This is an enhanced version of the Help card that comes with Nova, offering additional configurability.

Installation

You can install the package via composer:

composer require digital-creative/nova-welcome-card

Basic Usage

use DigitalCreative\NovaWelcomeCard\WelcomeCard;

class User extends Resource {

    public function cards(NovaRequest $request): array
    {
        return [
             WelcomeCard::make()
                ->title('...') // optional
                ->description('...') // optional
                ->addItem(icon: 'home', title: '...', content: '...') // need at least 2 for it to looks good
                ->addItem(icon: '<svg>...</svg>', title: '...', content: '...'),
        ];
    }

}

⭐️ Show Your Support

Please give a ⭐️ if this project helped you!

Other Packages You Might Like

License

The MIT License (MIT). Please see License File for more information.