Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Nova Icon Field

Nova Icon Field Laravel Package

datomatic/nova-icon-field

A Laravel Nova field that adds an icon picker to your forms and detail views, letting you search and select from bundled icon sets and store the chosen icon name on your model.

View on GitHub
Deep Wiki
Context7

A Laravel Nova 4 Field for svg icon selection

Frequently asked questions about Nova Icon Field
What is datomatic/nova-icon-field?
datomatic/nova-icon-field is a Laravel Nova 4 field that adds an SVG icon picker to Nova forms and detail views. It lets users search bundled icon sets and select an icon, then stores the chosen icon name on your model. It is distributed as a Composer package for Laravel applications using Nova.
How do I install datomatic/nova-icon-field?
Install the package with Composer using composer require datomatic/nova-icon-field. Because it is a Nova field, you then reference its field class in the fields method of your Nova resource. Check the repository README for any version-specific setup or publishing steps.
Does datomatic/nova-icon-field support Laravel Nova 4?
Yes, the package is described as a Laravel Nova 4 field for SVG icon selection. It is intended for applications running Nova 4, so confirm your Nova version before installing. If you are on an older Nova release, verify compatibility in the repository before adding it to production.
How do I add an icon picker to a Laravel Nova resource?
Add the package's icon field class to the fields method of your Nova resource, typically using the field's make method with your model attribute name. The field will then appear on the resource's create and update forms. Check the README for the exact class namespace and any available field options.
What value does datomatic/nova-icon-field store on my model?
The field stores the selected icon name as a value on your model, rather than storing the SVG markup itself. That makes it straightforward to save the choice in a normal string column and render the icon later in your application. You remain responsible for how that icon name is interpreted on the frontend.
Can users search for icons in the Nova icon picker?
Yes, the field provides a searchable icon picker so users can find an icon from the bundled sets instead of scrolling through every option. This is useful when your icon library is large and you want faster selection in Nova forms. The search behavior is part of the picker experience described for the package.
Can I use my own SVG icons or only the bundled icon sets?
The package ships with bundled icon sets that users can search and select from. Whether you can register additional custom SVG icon sets depends on the configuration options exposed by the package. Review the repository README for supported customization before relying on custom icons.
How do I display the selected icon in my Laravel Blade views?
Since the field stores the selected icon name on your model, you can read that attribute in your controllers and Blade templates. You then render the corresponding SVG yourself, for example through your own icon component or a separate SVG icon package. The Nova field handles selection and storage, while frontend rendering is up to your application.
What are alternatives to datomatic/nova-icon-field?
Alternatives include other Nova icon picker fields, general SVG icon packages combined with a custom Nova select field, or building a small custom Nova field around your preferred icon set. The best choice depends on whether you need bundled icon search, custom icon sets, or tight control over the stored value. Compare maintenance activity and Nova 4 compatibility before switching.
Is datomatic/nova-icon-field maintained and safe for production use?
Check the GitHub repository for recent commits, releases, and open issues before adopting it in production. Because it depends on Laravel Nova 4, also confirm that its supported Nova and Laravel versions match your application. Pin a tested Composer version and verify the field in staging before deploying.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo