PHPackages                             huubl/acf-icon-picker - 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. huubl/acf-icon-picker

ActiveWordpress-plugin

huubl/acf-icon-picker
=====================

Add ACF field for selecting SVG icons.

v1.0(6y ago)01.9kJavaScript

Since Jun 27Pushed 10mo agoCompare

[ Source](https://github.com/huubl/acf-icon-picker)[ Packagist](https://packagist.org/packages/huubl/acf-icon-picker)[ RSS](/packages/huubl-acf-icon-picker/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ACF Icon Selector Field
=======================

[](#acf-icon-selector-field)

Allows you to create an 'icon-picker' acf-field.

---

Please note
-----------

[](#please-note)

I am no longer developing this plugin myself, please use  instead.

Description
-----------

[](#description)

Add the svg icons you want to be available in your theme to an acf folder inside an img folder in your theme. The field returns the name of the svg.

Compatibility
-------------

[](#compatibility)

This ACF field type is compatible with:

- ACF 6
- ACF 5

Screenshots
-----------

[](#screenshots)

[![Icon Picker](https://raw.githubusercontent.com/houke/acf-icon-picker/master/screenshots/example.png)](https://raw.githubusercontent.com/houke/acf-icon-picker/master/screenshots/example.png)

Installation
------------

[](#installation)

### via Composer

[](#via-composer)

1. Add a line to your repositories array: `{ "type": "git", "url": "https://github.com/houke/acf-icon-picker" }`
2. Add a line to your require block: `"houke/acf-icon-picker": "dev-master"`
3. Run: `composer update`

### Manually

[](#manually)

1. Copy the `acf-icon-picker` folder into your `wp-content/plugins` folder
2. Activate the Icon Selector plugin via the plugins admin page
3. Create a new field via ACF and select the Icon Selector type

Filters
-------

[](#filters)

Use the below filters to override the default icon folder, path, and / or URL:

```
// modify the path to the icons directory
add_filter( 'acf_icon_path_suffix', 'acf_icon_path_suffix' );

function acf_icon_path_suffix( $path_suffix ) {
    return 'assets/img/icons/';
}

// modify the path to the above prefix
add_filter( 'acf_icon_path', 'acf_icon_path' );

function acf_icon_path( $path_suffix ) {
    return plugin_dir_path( __FILE__ );
}

// modify the URL to the icons directory to display on the page
add_filter( 'acf_icon_url', 'acf_icon_url' );

function acf_icon_url( $path_suffix ) {
    return plugin_dir_url( __FILE__ );
}
```

For Sage/Bedrock edit filters.php:

```
/// modify the path to the icons directory
add_filter('acf_icon_path_suffix',
  function ( $path_suffix ) {
    return '/assets/images/icons/'; // After assets folder you can define folder structure
  }
);

// modify the path to the above prefix
add_filter('acf_icon_path',
  function ( $path_suffix ) {
    return '/app/public/web/themes/THEME_NAME/resources';
  }
);

// modify the URL to the icons directory to display on the page
add_filter('acf_icon_url',
  function ( $path_suffix ) {
    return get_stylesheet_directory_uri();
  }
);
```

Changelog
---------

[](#changelog)

- 1.9.1 - ACF 6 compatibility fix. Thanks to [idflood](https://github.com/houke/acf-icon-picker/pull/30)
- 1.9.0 - Fix issue with Gutenberg preview not updating when removing. Thanks to [cherbst](https://github.com/houke/acf-icon-picker/pull/23)
- 1.8.0 - Fix issue with Gutenberg not saving icon. Thanks to [tlewap](https://github.com/houke/acf-icon-picker/pull/17)
- 1.7.0 - 2 new filters for more control over icon path. Thanks to [benjibee](https://github.com/houke/acf-icon-picker/pull/11)
- 1.6.0 - Performance fix with lots of icons. Thanks to [idflood](https://github.com/houke/acf-icon-picker/pull/9)
- 1.5.0 - Fix issue where searching for icons would break preview if icon name has space
- 1.4.0 - Add filter to change folder where svg icons are stored
- 1.3.0 - Adding close option on modal
- 1.2.0 - Adding search filter input to filter through icons by name
- 1.1.0 - Add button to remove the selected icon when the field is not required
- 1.0.0 - First release

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance40

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2511d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d26917b10f8c7a75c2aee51c98329366bfe6f62eb75fd0f4d49c4bbcffe6dc4?d=identicon)[huubl](/maintainers/huubl)

---

Top Contributors

[![houke](https://avatars.githubusercontent.com/u/3050551?v=4)](https://github.com/houke "houke (25 commits)")[![idflood](https://avatars.githubusercontent.com/u/197418?v=4)](https://github.com/idflood "idflood (3 commits)")[![klaudiomilankovic](https://avatars.githubusercontent.com/u/7324756?v=4)](https://github.com/klaudiomilankovic "klaudiomilankovic (2 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")[![cherbst](https://avatars.githubusercontent.com/u/632391?v=4)](https://github.com/cherbst "cherbst (1 commits)")[![tlewap](https://avatars.githubusercontent.com/u/5683825?v=4)](https://github.com/tlewap "tlewap (1 commits)")[![claudchan](https://avatars.githubusercontent.com/u/1639056?v=4)](https://github.com/claudchan "claudchan (1 commits)")[![dbiljak](https://avatars.githubusercontent.com/u/15057163?v=4)](https://github.com/dbiljak "dbiljak (1 commits)")

### Embed Badge

![Health badge](/badges/huubl-acf-icon-picker/health.svg)

```
[![Health](https://phpackages.com/badges/huubl-acf-icon-picker/health.svg)](https://phpackages.com/packages/huubl-acf-icon-picker)
```

PHPackages © 2026

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