lucky-media / width-field

A beautiful way to let users choose from custom widths.
0 stars 0 forks source link

screenshot

Width Field

A beautiful way to let users choose custom widths. You can enable/disable when adding the Fieldtype to the Blueprint.

Available Widths

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require lucky-media/width-field

Optionally you can publish the configuration file if you want to edit the labels.

php artisan vendor:publish --tag=config

How to Use

On the blueprint where you want to include it ( ex. Posts, Pages etc. ) search for Width, enable your preferred sizes, and you are done.

On your template you will get the slugified version of each field:

{{ width }}

This will render one of the following options:

Commercial addon

Width Field is a commercial addon - you must purchase a license via the Statamic Marketplace to use it in your project.

🐞 Bugs and 💡 Feature Requests

Please refer to the issues tab to submit a Bug or a Feature Request.