Create custom theme for module I've creating an intranet module for Drupal 8 and I want to use a custom theme for it, like an admin theme(with page/node/field templates) where I can map region like menu, header, footer... but only for my module.

I didn't find any specific doc about this.

Thanks for your help!
You cannot specify region on your module, but you can custom your page or your block.
Regions are specify into main theme.
First, you need to create a folder on your module root directory :

myModule/templates

Inside, you ll put all your custom template.
For example :

page1.html.twig
page2.html.twig

Then you need to declare all your templates :

In myModule.module :

/**
 * Implements hook_theme().
 */
function myModule_theme() {
  return [
    'page1' =&gt; [
      'template' =&gt; 'test',
      'variables'=&gt;array('test'=&gt;NULL),
      'render element' =&gt; 'children',
    ],

      'page2' =&gt; [
          'template' =&gt; 'page2',       
          'render element' =&gt; 'form',
      ],
  
  ];
}

And after, in your controller or your form :
return $build +  [
  '#theme'=&gt;'page1',
  '#test'=&gt;&quot;its content for my variable inside my template&quot;,
];