CP Style Guide Logo CP Style Guide

A style guide for control panel pages in Craft CMS.

The CP Style Guide plu­gin provides a style guide for con­trol pan­el pages in Craft CMS. It helps you when design­ing and build­ing your plugin’s con­trol pan­el pages by provid­ing markup and twig tem­plate tags for gen­er­at­ing nat­ive ele­ments and form fields in Craft.

CP Style Guide

License #

This plu­gin is licensed for free under the MIT License.

Require­ments #

Craft CMS 3.0.0 or later.

Install­a­tion #

To install the plu­gin, search for CP Style Guide” in the Craft Plu­gin Store, or install manu­ally using composer.

composer require putyourlightson/craft-cp-style-guide

Usage #

To view the style guide, install the plu­gin and click on the CP Style Guide in the main con­trol pan­el nav­ig­a­tion. View the source code in the plugin’s tem­plate dir­ect­ory to see how to gen­er­ate the form fields using twig tem­plate tags.