A simple Drupal Recipe for installing and configuring the Gin admin theme and supporting base modules.
If you need to configure your project to use recipes, please see the Getting Started: Configuring Drupal 11 to Apply Recipes¶ documentation page.
composer require kanopi/gin-admin-experience:^2
For Drupal 10 and 11.0/1 recipe can only be applied when Stark is the admin theme as set by the minimal profile if you are starting a new site. Use the 1.x release for that.
composer require kanopi/gin-admin-experience:^1
drush recipe ../recipes/gin-admin-experience
From your webroot run php core/scripts/drupal recipe ../recipes/gin-admin-experience
For the best recipe experience, make sure you project is configured to use Drupal core's Recipe Unpacking system. When a recipe is required, this plugin "unpacks" it by moving the recipe's dependencies directly into your project's root composer.json, and removes the recipe as a project dependency.
New projects started from Drupal 11.2 will most likely have this on by default, but it can be configured on and Drupal 10/11 project.
View the New Recipe Unpack composer plugin change record to learn how.