pvms
Provides a field type that allows content editors to select which view mode should be used to render individual paragraph entities. This enables flexible presentation options and improves layout customization without requiring additional paragraph types or custom templates.
Features
You can render the paragraph on different modes depending on the view mode selection!
Post-Installation
After installation, you'll need to go to edit a paragraph type and add a new field to it. When you get there, you'll see a new field type called:
Paragraph View mode selector
Which is the new field type you just installed. After that, create the field (use whatever machine name you want) and go to a node to add it.
When you add the paragraph, you'll see a dropdown displaying as options the view modes created for paragraph types. Select one of your choosing and save it.
After all that, when you save the page and get to see it, inspect it and you will find the suggestion for the template that uses the paragraph type + the view mode.
Additional Requirements
You need to have paragraph module installed.