kukrik/qcubed-accordion

QCubed-4 plugin for Accordion component

Maintainers

Package info

github.com/kukrik/qcubed-accordion

Language:JavaScript

Type:qcubed-library

pkg:composer/kukrik/qcubed-accordion

Transparency log

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2026-06-30 15:26 UTC

This package is auto-updated.

Last update: 2026-06-30 15:26:47 UTC


README

Accordion for QCubed-4

The Accordion plugin is a lightweight wrapper around the excellent Accordion JavaScript library by Michal Sajnóg, allowing developers to integrate a modern, dependency-free accordion component into QCubed-4 applications.

Unlike many existing QCubed plugins, this component demonstrates that QCubed-4 can seamlessly integrate modern Vanilla JavaScript libraries, without relying on jQuery.

The plugin focuses only on rendering, state management and QCubed integration, while leaving all business logic and content generation to the developer.

Accordion screenshot

Features

  • Wrapper around the Accordion Vanilla JavaScript library
  • No jQuery dependency
  • Remembers the active panel between Ajax requests
  • Supports dynamic content generated by QCubed controls
  • Lightweight and reusable
  • Compatible with PHP 8.3+

Credits

This plugin uses the open source Accordion library created by Michal Sajnóg.

GitHub: https://github.com/michu2k/Accordion

Documentation & examples: https://michu2k.github.io/Accordion/

Requirements

  • PHP 8.3 or newer
  • QCubed-4

Installation

This plugin is installed via Composer:

composer require kukrik/qcubed-accordion