New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

eminos/statamic-set-header-toggle

A Statamic addon to be able to add extra mini toggles to replicator and bard set headers.
4,351 3
Install
composer require eminos/statamic-set-header-toggle
Latest Version:v1.1.0
License:MIT
Last Updated:May 9, 2024
Links: GitHub  ·  Packagist
Maintainer: eminos

Statamic Set Header Toggle

A Statamic plugin to add a "Set Header Toggle" Fieldtype. Add toggles to Replicator and Bard set headers.

Screenshot of Set Header Toggle

Installation

Install this plugin using composer.

composer require eminos/statamic-set-header-toggle

Features

  • Add tiny toggles to Replicator or Bard set headers.
  • Set any color you want.
  • Choose between two sizes.
  • Add one or any number you want.
  • Shows the field display label on hover.

Usage

Just add the Set Header Toggle field inside any Replicator or Bard set. It will show up in the header of that set!

This can be useful to control some rarely used or advanced settings, or if you'd want to control the visibility of other fields.

Here is an example of a Set Header Toggle controlling the visibility of a Tab. Tabs can be added with the Statamic Tabs addon.

Screenshot of a Set Header Toggle controling the visibility of a Tab

Possible improvements

  • Optionally group multiple toggles in a dropdown.
  • Tiny labels.
  • Add to Grid fieldtype item header.

License

The MIT License (MIT). Please see License File for more information.

Related Packages

statamic/ssg

Generate static sites with Statamic.

388,350 252
spatie/statamic-responsive-images

Responsive Images for Statamic

281,415 114
aryehraber/statamic-captcha

Protect your Statamic forms using a Captcha service

248,486 17
marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

184,013 23
pecotamic/sitemap

Simple sitemap addon for Statamic

176,914 6

Version History

Version Released License
v1.1.0 MIT
v1.0.0 MIT