The CP Style Guide plugin provides a style guide for control panel pages in Craft CMS. It helps you when designing and building your plugin’s control panel pages by providing markup and twig template tags for generating native elements and form fields in Craft.
This plugin is licensed for free under the MIT License.
Craft CMS 3.0.0 or later.
To install the plugin, search for “CP Style Guide” in the Craft Plugin Store, or install manually using composer.
composer require putyourlightson/craft-cp-style-guide
To view the style guide, install the plugin and click on the CP Style Guide in the main control panel navigation. View the source code in the plugin’s template directory to see how to generate the form fields using twig template tags.