Tailwind Gutenberg Components screenshot

Tailwind Gutenberg Components

Author Avatar Theme by Kellymears
Updated: 2 Sep 2021
100 Stars

A Tailwind plugin for WordPress theme developers.

Overview:

Tailwind/Gutenberg is a Tailwind plugin designed specifically for WordPress theme developers. It aims to enhance the theme development process by introducing various modules that can be easily integrated with the Tailwind CSS framework. This plugin is still a work-in-progress, and contributors are welcome to join and help improve it.

Features:

  • Current modules: The plugin currently provides several modules, such as aspect-ratios.js, block-content.js, block-cover.js, block-embed.js, block-image.js, block-table.js, block-video.js, colors.js, columns.js, figcaption.js, group.js, and typography.js. These modules offer additional functionalities to enhance the appearance and styling of WordPress themes developed with Tailwind.
  • Contribution: Tailwind/Gutenberg greatly values community support and contributions. It acknowledges that the success of the plugin relies on the active involvement of the community. Therefore, contributors are encouraged to join the project, submit pull requests, and help shape the future of this plugin.

Installation:

To install Tailwind/Gutenberg, follow these steps:

  1. Ensure that you have Tailwind CSS installed in your WordPress theme project.
  2. Install the Tailwind/Gutenberg plugin by running the following command:
    npm install tailwind-gutenberg
    
  3. After installation, you can import and use the desired modules in your theme’s JavaScript or CSS files.

Here’s an example of importing and using a module in your JavaScript file:

import { aspectRatios } from 'tailwind-gutenberg/modules/aspect-ratios';

// Use the aspectRatios module in your code

And here’s an example of importing and using a module in your CSS file:

@import 'tailwind-gutenberg/modules/colors';

/* Use the colors module in your CSS rules */

Remember to customize the imported modules based on your theme’s requirements and configuration.

Summary:

Tailwind/Gutenberg is a plugin that aims to enhance the development experience for WordPress theme developers using the Tailwind CSS framework. It provides various modules that offer additional functionalities and styling options. The plugin is still under development, and community contributions are highly appreciated. To install the plugin, ensure Tailwind CSS is installed in your project and follow the provided installation guide.