PHPackages                             fabianmichael/kirby-multi-toggle-field - 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. fabianmichael/kirby-multi-toggle-field

Abandoned → [getkirby/cms](/?search=getkirby%2Fcms)ArchivedKirby-plugin[Utility &amp; Helpers](/categories/utility)

fabianmichael/kirby-multi-toggle-field
======================================

Toggle field with multiple options

1.0.3(4y ago)445152MITVuePHP &gt;=8.0

Since Dec 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fabianmichael/kirby-multi-toggle-field)[ Packagist](https://packagist.org/packages/fabianmichael/kirby-multi-toggle-field)[ RSS](/packages/fabianmichael-kirby-multi-toggle-field/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

**⚠️ Deprecation notice:** The multi-toggle field will become part of Kirby’s core from 3.7 onwards, called `toggles` field. This repository will be aarchived once the final version of Kirby 3.7 has been released. [Read the announcement by the Kirby team](https://github.com/getkirby/kirby/releases/tag/3.7.0-rc.1)Multi-Toggle field for Kirby 3
==============================

[](#multi-toggle-field-for-kirby-3)

An exploration of a new UI element/field for Kirby CMS, resembling the multi-toggles ususally found in desktop software for things, such as text alignment and various other settings. Could especially be useful for the blocks/layout fields, because it’s way more compact and visually appearing, than radio buttons. Could also be a handy alternative for the select field in many cases, because it requires only one click to select an option and all options are visible at first glance.

Unlike most Kirby fields, the multi-toggle does not cover the whole available width, to give it a lighter appearance. But it has a min-height set, so it won’t look weird, when placed next to another field in a multi-column layout.

[![Field preview](preview.gif)](preview.gif)

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

[](#installation)

Either download this repo, extract and copy into `site/plugins` or install using composer:

```
composer require fabianmichael/kirby-multi-toggle-field
```

Blueprint usage
---------------

[](#blueprint-usage)

```
# Icons and text labels
textAlign:
  type: multi-toggle
  label: Text alignment
  textLabels: true
  required: true # reset button is automatically disabled, when field is required
  equalize: true # Equalize items’ widths (default: true)
  options:
    - value: normal
      text: Left
      icon: align-left
    - value: center
      text: Center
      icon: align-center
    - value: right
      text: Right
      icon: align-right
    - value: justify
      text: Justify
      icon: align-justify

# Text labels only
width:
  type: multi-toggle
  label: Width
  textLabels: true
  equalize: false # Disable equalization of item widths
  reset: false # reset button can also be disabled for non-required fields.
  options:
    third: 33%
    half: 50%
    full: 100%

#  Icons only
level:
  type: multi-toggle
  label: Heading level
  textLabels: false
  width: 1/2
  options:
    - value: h1
      text: h1
      icon: heading-1
    - value: h2
      text: h2
      icon: heading-2
    - value: h3
      text: h3
      icon: heading-3
    - value: h4
      text: h4
      icon: heading-4
    - value: h5
      text: h5
      icon: heading-5
    - value: h6
      text: h6
      icon: heading-6
```

System Requirements
-------------------

[](#system-requirements)

- Kirby 3.5+
- PHP 7.3+

Caveats
-------

[](#caveats)

The field layout could lead to problems on very small screens. The developer is responsible for not adding too many options. One solution could be to collapse the field on mobile or replacing it with a select box, when not enough space is available.

License
-------

[](#license)

This plugin is licensed under the MIT license with the exception of the included icons from the Nucleo set. See src/index.js for further information on the icons’ license.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~3 days

Total

4

Last Release

1609d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36c35f33bec65e3f136f5a5075c6b42bdc8fcc744ea721b8428bce3ff496d264?d=identicon)[fabianmichael](/maintainers/fabianmichael)

---

Top Contributors

[![fabianmichael](https://avatars.githubusercontent.com/u/395617?v=4)](https://github.com/fabianmichael "fabianmichael (20 commits)")

### Embed Badge

![Health badge](/badges/fabianmichael-kirby-multi-toggle-field/health.svg)

```
[![Health](https://phpackages.com/badges/fabianmichael-kirby-multi-toggle-field/health.svg)](https://phpackages.com/packages/fabianmichael-kirby-multi-toggle-field)
```

###  Alternatives

[mzur/kirby-uniform

A versatile Kirby plugin to handle web form actions.

26068.3k13](/packages/mzur-kirby-uniform)[arnoson/kirby-vite

Vite helper for Kirby CMS

9759.2k3](/packages/arnoson-kirby-vite)[thathoff/kirby-git-content

Plugin to track changes to content in a git repository.

15343.7k](/packages/thathoff-kirby-git-content)[sylvainjule/locator

A map &amp; geolocation field, built on top of open-source services / Mapbox

11237.3k1](/packages/sylvainjule-locator)[tobimori/kirby-seo

The default choice for SEO on Kirby: Implement technical SEO &amp; Meta best practices with ease and provide an easy-to-use editor experience

10039.7k1](/packages/tobimori-kirby-seo)[fabianmichael/kirby-meta

Your all-in-one powerhouse for any SEO and metadata needs imaginable.

6910.7k1](/packages/fabianmichael-kirby-meta)

PHPackages © 2026

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