WP Component Library
A plugin to list and preview components from the active theme's component library in the WordPress admin.
by Alley · github.com/alleyinteractive/wp-component-library · website
★ 6stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/alleyinteractive/wp-component-library/archive/refs/heads/main.zipFrom the readme
WP Component Library
[!NOTE]
This plugin is no longer actively maintained. For a more modern approach to building
component-based WordPress themes, consider using
create-wordpress-plugin
to scaffold blocks for a block-based theme.
A plugin to list and preview components from the active theme's component
library in the WordPress admin. Also provides helper functions for loading
components in your theme so you can build with components atomically, similar
to how you can work with components in React.
Usage
This plugin will add a new area to the WordPress admin called
"Component Library." By default, this area will be accessible to anyone with
the manageoptions capability, but this is filterable.
Upon visiting the Component Library page, any components configured in the
active theme's components folder within the root of the theme according to
the standards laid out below will be displayed with information from the
README and one or more live previews based on values in the examples key in
the component.json file in the component folder.
Directory Structure
In order for this plugin to pick up and display your components, you need to
establish the following directory struct
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.2.1 | Jan 21, 2026 |
| v1.2.0 | Jan 20, 2026 |
| v1.1.1 | Nov 18, 2025 |
| v1.1.0 | Sep 27, 2024 |
| v1.0.1 | Dec 5, 2023 |
| v1.0.0 | Dec 4, 2023 |
| v0.1.0 | Nov 29, 2023 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.