mage-os / module-widgetkit
Widgetkit of cms widgets for Mage-OS
Package info
github.com/mage-os-lab/module-widgetkit
Language:HTML
Type:magento2-module
pkg:composer/mage-os/module-widgetkit
Requires
- php: ^8.1
- hyva-themes/magento2-theme-module: ^1.4
- mage-os/module-advanced-widget: ^1.2.5
- mage-os/module-page-builder-widget: ^1.3
- magento/module-page-builder: ^2.0
- magento/module-widget: *
- sabberworm/php-css-parser: ^8.7
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Kit of CMS Widgets compatible with Hyvä frontend theme.
Overview
The Widgetkit module defines a pre-built list of cms widgets with dedicated preview for Magento's pagebuilder. As far as this module is full compatible with Hyvä, each preview generates Tailwind CSS style when component is loaded on pagebuilder stage, alpine JS bindings are resolved on previews too.
🚀 Features
-
Full support for Hyvä frontend: PageBuilder previews render each widget's real, already-compiled theme Tailwind CSS (no runtime CSS compilation) and initialize Alpine.js bindings on the
cms_block/cms_pageedit controllers. The preview theme is picked automatically per CMS page/block: it uses the Hyvä theme assigned to the entity's own store view when there is one, otherwise falls back to an admin-configurable default (Stores → Configuration → MageOS Widgetkit → PageBuilder Preview), whose theme list only ever offers Hyvä child themes. -
Customizable slideshow widget
-
Customizable slider widget
-
Customizable product slider widget
-
Customizable grid widget
-
Customizable product grid widget
-
Customizable information grid widget – icon, title, description and a CTA button per item
-
Customizable accordion widget – collapsible content sections
-
Customizable marquee widget – infinitely scrolling strip of logos/content
-
Customizable tab widget – switchable content panels
-
Customizable stacked grid widget – full-width stacked rows, in 3 layout variants
-
Customizable countdown widget – counts down to a target date
-
Customizable banner widget – image + title/text/CTA, in 5 layout variants
🔧 Installation
-
Install it into your Mage-OS/Magento 2 project with composer:
composer require mage-os/module-widgetkit -
Enable module
bin/magento module:enable MageOS_Widgetkit bin/magento setup:upgrade
🤝 Changelog
Please see CHANGELOG for more information on what has changed recently.
📄 License
The MIT License (MIT). Please see License File for more information.