PHPackages                             kesabr/kirby-collapse-section - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kesabr/kirby-collapse-section

ActiveKirby-plugin[Utility &amp; Helpers](/categories/utility)

kesabr/kirby-collapse-section
=============================

A Kirby plugin that adds a collapse section to the panel

1.0.0(1mo ago)31↓50%MITJavaScript

Since Jun 3Pushed 1mo agoCompare

[ Source](https://github.com/kesabr/kirby-collapse-section)[ Packagist](https://packagist.org/packages/kesabr/kirby-collapse-section)[ RSS](/packages/kesabr-kirby-collapse-section/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Kirby Collapse Section
======================

[](#kirby-collapse-section)

A [Kirby CMS](https://getkirby.com) panel plugin that lets you group fields inside a collapsible section. Editors can expand and collapse the section with a single click, and the open/closed state is remembered per section in the browser.

Features
--------

[](#features)

- Wrap any set of panel fields in a toggle-able section
- Configurable label and default collapsed state via blueprint
- Per-section open/closed state persisted in `localStorage`
- Animated chevron indicator
- Fully keyboard-accessible toggle button

Installation
------------

[](#installation)

### Composer

[](#composer)

```
composer require kesabr/kirby-collapse-section
```

### Manual

[](#manual)

Download or clone this repository and place it in `site/plugins/kirby-collapse-section`.

Usage
-----

[](#usage)

Add a section of type `collapse` to any blueprint:

```
# site/blueprints/pages/example.yml

sections:
  advancedSettings:
    type: collapse
    label: Advanced Settings
    collapsed: true
    fields:
      seoTitle:
        type: text
        label: SEO Title
      seoDescription:
        type: textarea
        label: SEO Description
```

Options
-------

[](#options)

OptionTypeDefaultDescription`label``string``Section`Heading shown on the toggle button`collapsed``bool``false`Whether the section starts collapsed. Overridden by any previously stored state from the user's browser.`fields``array``[]`Standard Kirby field definitions to render inside the sectionRequirements
------------

[](#requirements)

- Kirby CMS 4+

License
-------

[](#license)

MIT — © [Kenan Brunner](https://kenanbrunner.ch)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance90

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

54d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/109b56b7b0cde41d8c2569ab44ebc14d2b15dd8315b43e12920cd1f72637434a?d=identicon)[kesabr](/maintainers/kesabr)

### Embed Badge

![Health badge](/badges/kesabr-kirby-collapse-section/health.svg)

```
[![Health](https://phpackages.com/badges/kesabr-kirby-collapse-section/health.svg)](https://phpackages.com/packages/kesabr-kirby-collapse-section)
```

###  Alternatives

[getkirby/cms

The Kirby core

1.5k584.8k491](/packages/getkirby-cms)[medienbaecker/kirby-modules

Easily add modules to your pages

895.5k1](/packages/medienbaecker-kirby-modules)[distantnative/retour-for-kirby

Manage redirects and track 404s right from the Kirby CMS Panel

14698.5k1](/packages/distantnative-retour-for-kirby)[arnoson/kirby-vite

Vite helper for Kirby CMS

9765.1k3](/packages/arnoson-kirby-vite)[medienbaecker/kirby-alter

242.1k](/packages/medienbaecker-kirby-alter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
