rmsj/nova-hero-icon

A Laravel Nova resource tool.

Installs: 59 108

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 3

Forks: 1

Open Issues: 0

Language:Vue

v1.0.0 2020-05-09 07:55 UTC

This package is auto-updated.

Last update: 2024-11-09 18:48:53 UTC


README

Latest Version on Packagist Total Downloads

This tool allows you to use all icons on heroicons-ui on Laravel Nova on your custom tool, resource-tool, custom index/detail tool bars - which was actually what started me on this package.

This package makes usage of the awesome heroicons-ui from Steve Schoger.

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require rmsj/nova-hero-icon

Usage

When using the icons, you can use Nova own component, usin the types with a slightly different naming convention.

<icon
    type="h-exclamation"    
/>

or, if you use icon-h, remove the h

<icon-h
    type="exclamation"    
/>

All the icons have the h prefix (h for heroicons) to avoid clashes with possible updates from nova when they could include more icons.

Credits

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