- Enqueue styles from the jet-form-builder-eye-icon.css to your style.css child.theme or custom plugin
- Enqueue script from the jet-form-builder-eye-icon.js via your child theme or custom plugin
- Add the code from the jet-form-builder-eye-icon.php to the your functions.php child theme or custom plugin
- Select or add Text Field block
- Go to the Advanced section
- Into the CSS Class Name option add
eye-icon
If you want to use your own SVG instead of Dashicons
In this example, SVG icons from the @wordpress/icons package were used
You can make/find svg yourself and convert to css declaration for backgroung-image property. It is enough to google "svg to css" to find a conversion tool.