
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
datocms-plugin-icon-picker-fields
Advanced tools
DatoCMS plugin to visually select icon from any icon font.
![]()
DatoCMS plugin to visually select icons from any icon font.
Version 2.0.0 introduces a new storage mechanism for better performance and scalability:
The migration is one-time and cannot be undone. Your general options (like iconPrefix) will remain in plugin settings.
After installation (or migration from v1.x), the plugin stores three assets:
icon-picker-fields-icons.json: List of icon namesicon-picker-fields-filters.json: Filter definitionsicon-picker-fields-styles.css: Icon font CSS stylesThese assets are managed automatically through the plugin settings interface.
A field that holds general options in JSON format.
my-prefix icon-arrow-right), you can add it here (optional)The plugin needs to know the icon names (that is, the CSS class names). They can be added as a JSON array in this field.
Example:
[
"icon-menu",
"icon-arrow-left"
]
These names will be returned when selecting an icon, see the "Usage" section below for more.
If you would like to add filter checkboxes to the UI, you can set "filters" here.
Filters consist of two parts:
Example:
[
{
"name": "Arrow icons",
"value": "arrow"
},
{
"name": "Filled icons",
"value": "-fill"
}
]
The plugin was made to be self-contained and to be used with any icon fonts. Because of this, all font-related CSS should be put here:
.icon-arrow-right:before { content: '\ea8a'; }After installing the plugin, you'll need to add a new JSON field type to a block or model, go to the Presentation tab, and select "Icon Font Picker" for the Field editor.
The data structure will be a stringified JSON object with the following structure:
{
"icon": "icon-arrow-right"
}
You can use it on the frontend by adding as a class to an element, like the way icon fonts are used normally.
If run locally, the plugin is available at port 3022: http://localhost:3022.
This served as the base of this plugin and helped a lot to bring things together easily.
https://www.datocms.com/marketplace/plugins/i/datocms-plugin-fontawesome
The JsonTextArea used for the plugins was borrowed from here. Great plugin by the way.
https://www.datocms.com/marketplace/plugins/i/datocms-plugin-visual-select
FAQs
DatoCMS plugin to visually select icon from any icon font.
The npm package datocms-plugin-icon-picker-fields receives a total of 5 weekly downloads. As such, datocms-plugin-icon-picker-fields popularity was classified as not popular.
We found that datocms-plugin-icon-picker-fields demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.