Since shopware's plug-in config only supports some default Elements and some pre-defined components,
this repository aims to extend it by a bunch of new elements.
Feel free to add your own or to adjust the existing ones.
Make sure to pre-build the assets and commit the compiled JS as well.
Install via composer:
composer require jbl/shopware-config-elements:dev-main
open config/bundles.php
and add to the end of the array:
Jbl\ShopwareConfigElements\JblShopwareConfigElements::class => ['all' => true]
execute in console
bin/console assets:install
<component name="jbl-cta">
<name>uniqueName</name>
<headline>This is a headline</headline>
<text>Some Text displyed below the headline</text>
<buttonText>Text displayed on button</buttonText>
<buttonLink>https://www.something.com/</buttonLink>
<buttonVariant>primary|ghost|danger|ghost-danger|contrast|context</buttonVariant>
</component>
<component name="jbl-simple-text">
<name>uniqueName</name>
<text>This element simply displays some regular text.</text>
</component>