Skip to content

Installation

Requirements

  • Drupal core ^11.
  • Composer and a Drupal project. The examples use DDEV with web as the docroot.

Install the package

ddev composer require drupal/icons_toolkit

Composer installs these dependencies:

  • drupal/ui_icons: ^1.1 or ^2.0
  • drupal/iconify_icons: ^2.0

Composer selects the newest ui_icons release that your Drupal core version allows. On Drupal core 11.2.x this resolves to ui_icons 1.1.x. On Drupal core 11.3 and later it resolves to ui_icons 2.x.

Apply the recipe

ddev exec -d /var/www/html/web php core/scripts/drupal recipe ../recipes/icons_toolkit

Applying the recipe enables the modules listed in Usage and imports the Iconify Icons settings described in Configuration.