The current Icon fieldtype documentation is still mentioning removed (since v6) "options" (ie directory & folder) : https://statamic.dev/fieldtypes/icon#options
However the new way of doing that is specified in the upgrade guide : https://statamic.dev/getting-started/upgrade-guide/5-to-6#custom-icons
there is a temporary closed PR to attempt to fix the doc but was never reopened : #1731
The current Icon fieldtype documentation is still mentioning removed (since v6) "options" (ie directory & folder) : https://statamic.dev/fieldtypes/icon#options
However the new way of doing that is specified in the upgrade guide : https://statamic.dev/getting-started/upgrade-guide/5-to-6#custom-icons
there is a temporary closed PR to attempt to fix the doc but was never reopened : #1731