You can name examples in the components object.
components:
  examples:
    lightning:
      # Example objectIt is a map with strings as the name, and the Example Object as the value.
See the Example Object.
- NamedExamples
 - Example
 
  NamedExamples: mapOf('Example'),