@blockhandbook/tailwindcss-controls

0.1.57 • Public • Published

Tailwindcss powered controls for styling blocks built for the WordPress block editor

A library of common block styling controls powered by tailwindcss classes.

Installation

npm i @blockhandbook/tailwindcss-controls --save-dev

This package assumes that your code will run in an ES2015+ environment.

Setup

You need to be using tailwindcss. Getting it setup for use in WordPress can be a little tricky, which is why we put together this @blockhandbook/tailwindcss package.
See Documentation

Usage

A handful of common styling controls powered by Tailwindcss utility classes are bundled in this package:

BoxShadowControls

Toolbar & InspectorControls for adding box shadow settings to blocks: BoxShadowControls in the WordPress block editor sidebar & toolbar See Documentation

BorderControls

Toolbar & InspectorControls for adding border settings to blocks: BorderControls in the WordPress block editor sidebar & toolbar See Documentation

MarginControls

Toolbar & InspectorControls for adding margin settings to blocks: MarginControls in the WordPress block editor sidebar & toolbar See Documentation

PaddingControls

Toolbar & InspectorControls for adding padding settings to blocks: BorderControls in the WordPress block editor sidebar & toolbar See Documentation

SpacingControls

Toolbar & InspectorControls for adding spacing settings to blocks: SpacingControls in the WordPress block editor sidebar & toolbar See Documentation

BackgroundControls

BackgroundControls in the WordPress block editor sidebar & toolbar See Documentation

Package Sidebar

Install

npm i @blockhandbook/tailwindcss-controls

Weekly Downloads

0

Version

0.1.57

License

ISC

Unpacked Size

171 kB

Total Files

22

Last publish

Collaborators

  • leeshadle