diff --git a/examples.module b/examples.module
index 1b764d6..f09110b 100644
--- a/examples.module
+++ b/examples.module
@@ -51,6 +51,7 @@ function examples_toolbar() {
     'plugin_type_example' => 'plugin_type_example.description',
     'simpletest_example' => 'simpletest_example_description',
     'tour_example' => 'tour_example_description',
+    'vertical_tabs_example' => 'vertical_tabs_example.description',
   );
 
   // Build a list of links for the menu.
diff --git a/vertical_tabs_example/js/vertical_tabs_example.js b/vertical_tabs_example/js/vertical_tabs_example.js
new file mode 100644
index 0000000..460eb97
--- /dev/null
+++ b/vertical_tabs_example/js/vertical_tabs_example.js
@@ -0,0 +1,23 @@
+(function ($) {
+
+  /**
+   * Update the summary for the module's vertical tab.
+   */
+  Drupal.behaviors.vertical_tabs_exampleFieldsetSummaries = {
+    attach: function (context) {
+      // Use the details class to identify the vertical tab element.
+      $('#edit-vertical-tabs-example', context).drupalSetSummary(function (context) {
+        // Depending on the checkbox status, the settings will be customized,
+        // so update the summary with the custom setting textfield string or a
+        // use a default string.
+        if ($('#edit-vertical-tabs-example-enabled', context).prop('checked')) {
+          return Drupal.checkPlain($('#edit-vertical-tabs-example-custom-setting', context).val());
+        }
+        else {
+          return Drupal.t('Using default');
+        }
+      });
+    }
+  };
+
+})(jQuery);
diff --git a/vertical_tabs_example/src/Controller/VerticalTabsExampleController.php b/vertical_tabs_example/src/Controller/VerticalTabsExampleController.php
new file mode 100644
index 0000000..5ba8b0a
--- /dev/null
+++ b/vertical_tabs_example/src/Controller/VerticalTabsExampleController.php
@@ -0,0 +1,38 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\vertical_tabs_example\Controller\VerticalTabsExampleController.
+ */
+
+namespace Drupal\vertical_tabs_example\Controller;
+
+use Drupal\Core\Url;
+
+/**
+ * Class VerticalTabsExampleController.
+ *
+ * @package Drupal\vertical_tabs_example\Controller
+ */
+class VerticalTabsExampleController {
+
+  /**
+   * A simple controller method to explain the vertical tabs example.
+   */
+  public function description() {
+    $url = Url::fromRoute('node.add_page');
+    $content_add = \Drupal::l(t('add a piece of content'), $url);
+    $build = array(
+      '#markup' => t('The Vertical Tabs Example shows how a
+        custom module can add a vertical tab to a node edit form,
+        and support its summary field with JavaScript. To see the
+        effects of this module, !add a piece of content and look at the set
+        of tabs beside. We\'ve added one called \'Example vertical tab.\'',
+        array('!add a piece of content' => $content_add)
+      ),
+    );
+    return $build;
+
+  }
+
+}
diff --git a/vertical_tabs_example/src/Tests/VerticalTabsExampleTest.php b/vertical_tabs_example/src/Tests/VerticalTabsExampleTest.php
new file mode 100644
index 0000000..197ce5e
--- /dev/null
+++ b/vertical_tabs_example/src/Tests/VerticalTabsExampleTest.php
@@ -0,0 +1,45 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\vertical_tabs_example\Tests\VerticalTabsExampleTest.
+ *
+ * This file contains test cases to check that vertical_tabs_example is
+ * performing as expected.
+ */
+
+namespace Drupal\vertical_tabs_example\Tests;
+
+use Drupal\simpletest\WebTestBase;
+
+/**
+ * Functional tests for the Vertical Tabs Example module.
+ *
+ * @ingroup vertical_tabs_examples
+ *
+ * @group vertical_tabs_examples
+ * @group examples
+ */
+class VerticalTabsExampleTest extends WebTestBase {
+  /**
+   * Modules to enable.
+   *
+   * @var array
+   */
+  public static $modules = array('node' , 'vertical_tabs_example');
+
+  /**
+   * Tests the menu paths defined in vertical_tabs_example module.
+   */
+  public function testVerticalTabsExampleMenus() {
+    // Verify links on front-page.
+    $this->drupalGet('examples/vertical_tabs');
+    $this->assertResponse(200, '200 response for path: ' . $path);
+    $this->assertLinkByHref('node/add');
+    // Verify vertical tab on node/add/article.
+    $this->drupalGet('node/add');
+    $this->clickLink('Article');
+    $this->assertFieldByXPath("//details[@id='edit-vertical-tabs-example']");
+
+  }
+
+}
diff --git a/vertical_tabs_example/vertical_tabs_example.info.yml b/vertical_tabs_example/vertical_tabs_example.info.yml
new file mode 100644
index 0000000..d0c5c78
--- /dev/null
+++ b/vertical_tabs_example/vertical_tabs_example.info.yml
@@ -0,0 +1,9 @@
+name: 'Vertical tabs example'
+type: module
+description: 'Show how to use vertical tabs for enhancing user experience.'
+package: Example modules
+core: 8.x
+dependencies:
+  - examples
+libraries:
+  - vertical_tabs_example/vertical_tabs_example
diff --git a/vertical_tabs_example/vertical_tabs_example.libraries.yml b/vertical_tabs_example/vertical_tabs_example.libraries.yml
new file mode 100644
index 0000000..d665e15
--- /dev/null
+++ b/vertical_tabs_example/vertical_tabs_example.libraries.yml
@@ -0,0 +1,8 @@
+# Build up our dependencies as a library.
+vertical_tabs_example:
+  version: 1.x
+  # Adding our js file.
+  js:
+    js/vertical_tabs_example.js: {}
+  dependencies:
+    - core/jquery
diff --git a/vertical_tabs_example/vertical_tabs_example.links.menu.yml b/vertical_tabs_example/vertical_tabs_example.links.menu.yml
new file mode 100644
index 0000000..4ea19c7
--- /dev/null
+++ b/vertical_tabs_example/vertical_tabs_example.links.menu.yml
@@ -0,0 +1,3 @@
+vertical_tabs_example.description:
+  title: Virtual Tabs Example
+  route_name: vertical_tabs_example.description
\ No newline at end of file
diff --git a/vertical_tabs_example/vertical_tabs_example.module b/vertical_tabs_example/vertical_tabs_example.module
new file mode 100644
index 0000000..e0b4599
--- /dev/null
+++ b/vertical_tabs_example/vertical_tabs_example.module
@@ -0,0 +1,66 @@
+<?php
+
+/**
+ * @file
+ * Module file for vertical_tabs_example module.
+ */
+
+use Drupal\Core\Form\FormStateInterface;
+
+/**
+ * Implements hook_form_alter().
+ */
+function vertical_tabs_example_form_node_form_alter(array &$form, FormStateInterface $form_state) {
+  $form['#attached']['library'][] = 'vertical_tabs_example/vertical_tabs_example';
+  // Create a details field that will be included in the vertical tab.
+  $form['vertical_tabs_example'] = array(
+    '#type' => 'details',
+    '#title' => t('Example vertical tab'),
+    '#collapsible' => TRUE,
+    '#collapsed' => FALSE,
+    '#tree' => TRUE,
+    // Send this tab to the top of the list.
+    '#weight' => -99,
+    // The #group value must match the name of the vertical tabs element.
+    // In most cases, this is 'additional_settings'.
+    '#group' => 'advanced',
+    // Vertical tabs provide its most usable appearance when they are used to
+    // include a summary of the information contained in the details. To do
+    // this, we attach additional JavaScript to handle changing the summary
+    // when form settings are changed.
+  );
+
+  // The form elements below provide a demonstration of how a details
+  // summary can be displayed in a collapsed tab.
+  //
+  // This checkbox is used to show or hide the custom settings form using
+  // javascript (altering states of a container defined later).
+  $form['vertical_tabs_example']['enabled'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Change this setting'),
+    '#default_value' => FALSE,
+  );
+
+  // This container will be used to store the whole form for our custom
+  // settings. This way, showing/hiding the form using javascript is easier,
+  // as only one element should be set visible.
+  $form['vertical_tabs_example']['vertical_tabs_examplecontainer'] = array(
+    '#type' => 'container',
+    '#parents' => array('vertical_tabs_example'),
+    '#states' => array(
+      'invisible' => array(
+        // If the checkbox is not enabled, show the container.
+        'input[name="vertical_tabs_example[enabled]"]' => array('checked' => FALSE),
+      ),
+    ),
+  );
+
+  // The string of this textfield will be shown as summary in the vertical
+  // tab.
+  $form['vertical_tabs_example']['vertical_tabs_examplecontainer']['custom_setting'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Use this setting instead'),
+    '#default_value' => 'I am a setting with a summary',
+    '#description' => t('As you type into this field, the summary will be updated in the tab.'),
+  );
+}
diff --git a/vertical_tabs_example/vertical_tabs_example.routing.yml b/vertical_tabs_example/vertical_tabs_example.routing.yml
new file mode 100644
index 0000000..6903256
--- /dev/null
+++ b/vertical_tabs_example/vertical_tabs_example.routing.yml
@@ -0,0 +1,7 @@
+vertical_tabs_example.description:
+  path: 'examples/vertical_tabs'
+  defaults:
+    _controller: '\Drupal\vertical_tabs_example\Controller\VerticalTabsExampleController::description'
+    _title: 'Vertical tabs example'
+  requirements:
+    _access: 'TRUE'
