Mar 5, 2021
You can use the stencil class name in createStencilStory function, there you can see you have access to Component.name, which is the class name.
I didn't understand the folders part, but I am guessing you are refering to the storybook collections, this can be modified on preview.js.