Skip to content

WordPress Plugin Boilerplate

A starter for WordPress plugins with a React admin UI, Tailwind CSS, shadcn/ui and Vite.

prappo.github.io/wordpress-plugin-boilerplate

WordPress Plugin Boilerplate website screenshot
Added
GitHub stars
190
License
GPL-2.0
Price
Free

About

About WordPress Plugin Boilerplate

WordPress Plugin Boilerplate is a starting point for building plugins with a modern front end. The admin interface uses React, TypeScript, SASS, Tailwind CSS and shadcn/ui, bundled with Vite and hot module replacement, with Storybook for developing components in isolation and Grunt for workflow tasks. The back end is PHP installed with Composer, communicating with the React side through an API, and the repository includes config and migration folders.

Create a plugin with the PlugKit CLI by running plugkit create my-plugin, or clone the repository, run npm install and composer install, edit plugin-config.json and run npm run rename. Add shadcn/ui components with the shadcn CLI. A built-in marketing and documentation site can showcase the finished plugin. The repository is licensed GPL-2.0, which matches WordPress conventions.

WordPress Plugin Boilerplate features

6 features

  • React and TypeScript admin interface
  • Tailwind CSS with shadcn/ui components
  • Vite with hot module replacement
  • Storybook for isolated component work
  • PHP back end with Composer and migrations
  • Rename script driven by plugin-config.json

Install WordPress Plugin Boilerplate

1 command

Terminal

$ plugkit create my-plugin

What you can build with WordPress Plugin Boilerplate

3 use cases

  • Building a WordPress plugin settings screen in React
  • Prototyping a commercial plugin with a ready docs site
  • Adding shadcn/ui components to a WordPress admin page

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What WordPress Plugin Boilerplate is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro