-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e5a36c
commit 29d602f
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Heroicon Nova Field | ||
|
||
A Laravel Nova Field for managing icons. [Heroicons](https://heroicons.com/) icons used by default. There is a | ||
possability to use custom icon in svg format. Icon saved as svg html tag into db. | ||
|
||
## Installation: | ||
|
||
Use composer for installation. Laravel with nova required. | ||
|
||
```bash | ||
composer require alexazartsev/heroicon | ||
``` | ||
|
||
## Usage: | ||
|
||
Use it as regular nova field: | ||
|
||
```php | ||
use AlexAzartsev\Heroicon\Heroicon; | ||
|
||
Heroicon::make('Icon'); | ||
``` | ||
|
||
To use custom or customize existing icon click on `Edit` button and just edit svg code of selected icon: | ||
|
||
<img src="screenshots/custom_icon.gif" width="800"> | ||
|
||
## Support: | ||
|
||
[email protected] | ||
|
||
## License: | ||
|
||
The MIT License (MIT). Please see [License File](LICENSE) for more information. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.