PHPackages                             naif/text-with-icon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. naif/text-with-icon

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

naif/text-with-icon
===================

A Laravel Nova text field with custom icon.

518.6k2Vue

Since Oct 1Pushed 7y agoCompare

[ Source](https://github.com/naifalshaye/nova-text-field-with-icon)[ Packagist](https://packagist.org/packages/naif/text-with-icon)[ RSS](/packages/naif-text-with-icon/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Nova text field with customizable font-awesome icons
====================================================

[](#nova-text-field-with-customizable-font-awesome-icons)

A Laravel Nova text field with a custom icon

Installation:
-------------

[](#installation)

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

```
composer require naif/text-with-icon
```

Usage:
------

[](#usage)

#### Add the below to nova/resources/views/layout.blade.php

[](#add-the-below-to-novaresourcesviewslayoutbladephp)

```

```

#### Add the below to Nova/User.php resource:

[](#add-the-below-to-novauserphp-resource)

```
  TextWithIcon::make('test')
      ->icon('fab fa-twitter-square') //set icon full name. Browse icon gallery at https://fontawesome.com/icons?d=gallery&m=free
      ->position('in') //here you can set icon position to be inside or outside the text field.
      ->color('#1997EF'),//also you can set icon color

```

[![](https://raw.githubusercontent.com/naifalshaye/nova-text-field-with-icon/master/screenshots/screenshot.png)](https://raw.githubusercontent.com/naifalshaye/nova-text-field-with-icon/master/screenshots/screenshot.png)

Support:
--------

[](#support)

License:
--------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/323a5cbb1087ce4edc9deec40b03736b6d43a3ca205615b346108ed57f58e50e?d=identicon)[naifdev](/maintainers/naifdev)

---

Top Contributors

[![naifalshaye](https://avatars.githubusercontent.com/u/23122187?v=4)](https://github.com/naifalshaye "naifalshaye (6 commits)")

### Embed Badge

![Health badge](/badges/naif-text-with-icon/health.svg)

```
[![Health](https://phpackages.com/badges/naif-text-with-icon/health.svg)](https://phpackages.com/packages/naif-text-with-icon)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
