Drupal like other CMS or open source platform is so extendable with modules and themes available from the community. The Drupal community I found it is amazing and very supportive.
To install Drupal module or theme with composer you can just simply run
composer require drupal/module_name
Example above is for a drupal project called
module_name and in Drupal page it will be after /project/ folder:
Sometimes the composer as a memory limit issue, add the following command before the composer.
php -d memory_limit=-1 `which composer` require drupal/module_name # instead of composer require drupal/module_name