Below is one possible folder structure for Tailor extensions.
plugin/ ├── assets/ │ ├── css/ │ └── js/ ├── includes/ │ └── elements/ │ └── shortcodes/ ├── partials/ └── plugin.php
This should be familiar to most plugin developers.
The elements folder contains the custom element definitions (i.e., basic attributes and the available configuration settings) and the shortcodes folder contains the shortcode definitions used to actually render the element on the frontend. Any custom template partials that you’d like to use should be added to the partials folder.
For more information on how shortcodes and partials are used, please refer to the article on rendering HTML for a custom element.