digital-creative/nova-welcome-card

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

Fund package maintenance!
milewski

Installs: 27 263

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 0

Open Issues: 0

Language:Vue

v0.0.2 2023-10-12 13:48 UTC

This package is auto-updated.

Last update: 2024-11-28 10:38:45 UTC


README

Latest Version on Packagist Total Downloads License

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.