PHPackages                             rias/statamic-button-box - 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. rias/statamic-button-box

ActiveStatamic-addon[Utility &amp; Helpers](/categories/utility)

rias/statamic-button-box
========================

v4.0.0(5mo ago)221.4k↓13.3%1PHP

Since Jun 18Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/riasvdv/statamic-button-box)[ Packagist](https://packagist.org/packages/rias/statamic-button-box)[ RSS](/packages/rias-statamic-button-box/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (11)Used By (0)

[![Latest Version](https://camo.githubusercontent.com/3908146ee52893931b7bdad8a4691380e4e720f44d3ed54483cdb0a6c8cdaa51/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f726961737664762f73746174616d69632d627574746f6e2d626f782e7376673f7374796c653d666c61742d737175617265)](https://github.com/riasvdv/statamic-button-box/releases)

Button Box
==========

[](#button-box)

> Button Box for Statamic 3.

Create beautiful choices for your clients.

[![Screenshot](./docs/img/button-box-screenshot.png)](./docs/img/button-box-screenshot.png)

License
-------

[](#license)

Button Box requires a license to be used while on a production site.
You can purchase one at .

You may use Button Box without a license while Statamic is in [Trial mode](https://docs.statamic.com/knowledge-base/trial-mode).

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

[](#installation)

Require it using Composer.

```
composer require rias/statamic-button-box

```

Publish the assets and configuration:

```
php artisan vendor:publish --provider="Rias\ButtonBox\ServiceProvider"

```

Using Button Box
----------------

[](#using-button-box)

Add the fieldtype to your fieldset.

Each option contains the following fields:

- label - This is show when neither an icon or an image is present
- value - The value that you'll use in your templates
- image - An image
- icon - A [FontAwesome Free](https://fontawesome.com/icons?d=gallery&m=free) icon

```
sections:
  main:
    display: Main
    fields:
      -
        handle: choice
        field:
          type: button_box
          display: Choice
          options:
            -
              label: Left
              value: left
              image: left.svg
              icon: null
            -
              label: Center
              value: center
              image: center.svg
              icon: null
            -
              label: Right
              value: right
              image: right.svg
              icon: null
```

Using Button Box
----------------

[](#using-button-box-1)

```
{{ choice }} # will contain either "left", "center" or "right" from the example above
```

Using a different Asset container
---------------------------------

[](#using-a-different-asset-container)

Button Box comes with a configuration file that you can change after publishing, it will live at `config/statamic/button-box.php`, here you can define the handle of the Asset Container that has to be used for the images.

```
return [
    /**
     * If you want Button Box to use a different container
     * you can define the container handle to be used.
     */
    'container' => null,
];
```

Brought to you by [Rias](https://rias.be)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance74

Regular maintenance activity

Popularity29

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~226 days

Recently: every ~233 days

Total

10

Last Release

172d ago

Major Versions

v2.0.3 → v3.0.02023-06-26

3.1.0 → v4.0.02026-01-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbd355ba9a931da845b0c4ff59a974dab98f829d567bb8c5ff435c823dfa255e?d=identicon)[riasvdv](/maintainers/riasvdv)

---

Top Contributors

[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (8 commits)")

### Embed Badge

![Health badge](/badges/rias-statamic-button-box/health.svg)

```
[![Health](https://phpackages.com/badges/rias-statamic-button-box/health.svg)](https://phpackages.com/packages/rias-statamic-button-box)
```

###  Alternatives

[statamic/seo-pro

68516.6k](/packages/statamic-seo-pro)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[rias/statamic-redirect

29335.6k](/packages/rias-statamic-redirect)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)[jacksleight/statamic-bard-texstyle

18195.4k](/packages/jacksleight-statamic-bard-texstyle)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

23111.5k15](/packages/marcorieser-statamic-livewire)

PHPackages © 2026

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